wok view tcl/receipt @ rev 1689
Add reiser4progs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 11 09:01:19 2008 +0000 (2008-11-11) |
parents | 8ea0c0cc99a0 |
children | c9b31ceaa516 |
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@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 # Devel files (to lazy to build a -dev pkg)
39 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
40 cp -a $_pkg/usr/include $fs/usr
41 }
43 clean_wok(){
44 rm -rf ${PACKAGE}${VERSION}
45 }