wok-4.x view tcl/receipt @ rev 6143
tazbb: log installation too
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 09 10:16:09 2010 +0200 (2010-09-09) |
parents | 866fa2493b1b |
children | b81a1aeb22bd |
line source
1 # SliTaz package receipt.
3 PACKAGE="tcl"
4 VERSION="8.5.8"
5 CATEGORY="development"
6 SHORT_DESC="The Tool Command Language"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS=""
9 SOURCE="tcl"
10 TARBALL="${SOURCE}${VERSION}-src.tar.gz"
11 WEB_SITE="http://tcl.sourceforge.net/"
12 WGET_URL="http://surfnet.dl.sourceforge.net/sourceforge/tcl/$TARBALL"
13 TAGS="language programming"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 # Redefine source path src
19 src=${SOURCE}${VERSION}/unix
21 cd $src
22 ./configure --prefix=/usr \
23 --infodir=/usr/share/info \
24 --enable-shared \
25 --disable-symbols \
26 --mandir=/usr/share/man $CONFIGURE_ARGS && \
27 make && \
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
35 _pkg=${SOURCE}${VERSION}/unix/_pkg
36 mkdir -p $fs/usr/lib
37 cp -a $_pkg/usr/lib/tcl8* $fs/usr/lib
38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
39 cp -a $_pkg/usr/bin $fs/usr
40 strip -s $fs/usr/bin/*
41 ln -sf tclsh8.5 $fs/usr/bin/tclsh
42 }
44 clean_wok(){
45 test -d ${SOURCE}${VERSION} && rm -rf ${SOURCE}${VERSION}
46 }