wok-4.x view tcl/receipt @ rev 554
Up: Xpad (2.14)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 12 21:39:03 2008 +0200 (2008-04-12) |
parents | |
children | 8ea0c0cc99a0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tcl"
4 VERSION="8.4.18"
5 CATEGORY="development"
6 SHORT_DESC="The Tool Command Language"
7 MAINTAINER="Erjo <erjo@slitaz.org>"
8 DEPENDS=""
9 TARBALL="${PACKAGE}${VERSION}-src.tar.gz"
10 WEB_SITE="http://tcl.sourceforge.net/"
11 WGET_URL="http://surfnet.dl.sourceforge.net/sourceforge/tcl/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 # Redefine source path src
17 src=${PACKAGE}${VERSION}/unix
19 cd $src
20 ./configure --prefix=/usr \
21 --infodir=/usr/share/info \
22 --enable-shared \
23 --disable-symbols \
24 --mandir=/usr/share/man $CONFIGURE_ARGS
25 make
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
33 _pkg=${PACKAGE}${VERSION}/unix/_pkg
34 mkdir -p $fs/usr/lib
35 cp -a $_pkg/usr/lib/tcl8* $fs/usr/lib
36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
37 cp -a $_pkg/usr/bin $fs/usr
38 strip -s $fs/usr/bin/*
39 }
41 clean_wok(){
42 rm -rf ${PACKAGE}${VERSION}
43 }