wok-stable view tcl8.4/receipt @ rev 1012

Add: tk8.4, tk5.4-dev, tcl8.4, tcl8.4-dev (tcl & tcl-dev must be removed).
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Jul 08 01:18:51 2008 +0200 (2008-07-08)
parents
children 3e397378bee1
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 <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 }