wok view tcl/receipt @ rev 7387

Up dahdi-linux (2.4.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 26 10:55:03 2010 +0100 (2010-11-26)
parents ef1d289e8344
children 43ec05a2b26b
line source
1 # SliTaz package receipt.
3 PACKAGE="tcl"
4 VERSION="8.5.9"
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"
13 TAGS="language programming"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 # Redefine source path src
19 src=${SOURCE}${VERSION}/unix
21 cd $src
22 ./configure --prefix=/usr \
23 --infodir=/usr/share/info \
24 --enable-shared \
25 --disable-symbols \
26 --mandir=/usr/share/man $CONFIGURE_ARGS && \
27 make && \
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
35 _pkg=${SOURCE}${VERSION}/unix/_pkg
36 mkdir -p $fs/usr/lib
37 cp -a $_pkg/usr/lib/tcl8* $fs/usr/lib
38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
39 cp -a $_pkg/usr/bin $fs/usr
40 strip -s $fs/usr/bin/*
41 ln -sf tclsh8.5 $fs/usr/bin/tclsh
42 }
44 clean_wok(){
45 test -d ${SOURCE}${VERSION} && rm -rf ${SOURCE}${VERSION}
46 }