wok view tcl8.4/receipt @ rev 1754
slitaz-tools: add tazctrlbox
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Nov 24 21:41:45 2008 +0100 (2008-11-24) |
parents | 2201a1fac45e |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="tcl8.4"
4 VERSION="8.4.18"
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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 # Redefine source path src
18 src=${SOURCE}${VERSION}/unix
20 cd $src
21 ./configure --prefix=/usr \
22 --infodir=/usr/share/info \
23 --enable-shared \
24 --disable-symbols \
25 --mandir=/usr/share/man $CONFIGURE_ARGS
26 make
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
34 _pkg=${SOURCE}${VERSION}/unix/_pkg
35 mkdir -p $fs/usr/lib
36 cp -a $_pkg/usr/lib/tcl8* $fs/usr/lib
37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
38 cp -a $_pkg/usr/bin $fs/usr
39 strip -s $fs/usr/bin/*
40 }
42 clean_wok(){
43 rm -rf ${SOURCE}${VERSION}
44 }