wok view tcl/receipt @ rev 771

Up: sliaz-tools (2.3), slitaz-configs (2.1) and use desktopbox to logout from lxpanel
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 12 02:16:34 2008 +0200 (2008-05-12)
parents aa87a24d1e82
children a075ff895254
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 # 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 }