wok view tcl/receipt @ rev 507

ADD: lshw, tcl
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Apr 01 00:01:11 2008 +0200 (2008-04-01)
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 }