wok-6.x annotate tcl8.4/receipt @ rev 1675

Add libgd
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 08 13:58:58 2008 +0000 (2008-11-08)
parents 2201a1fac45e
children
rev   line source
erjo@1012 1 # SliTaz package receipt.
erjo@1012 2
erjo@1012 3 PACKAGE="tcl8.4"
erjo@1012 4 VERSION="8.4.18"
erjo@1012 5 CATEGORY="development"
erjo@1012 6 SHORT_DESC="The Tool Command Language"
pascal@1065 7 MAINTAINER="erjo@slitaz.org"
erjo@1012 8 DEPENDS=""
erjo@1012 9 SOURCE="tcl"
erjo@1012 10 TARBALL="${SOURCE}${VERSION}-src.tar.gz"
erjo@1012 11 WEB_SITE="http://tcl.sourceforge.net/"
erjo@1012 12 WGET_URL="http://surfnet.dl.sourceforge.net/sourceforge/tcl/$TARBALL"
erjo@1012 13
erjo@1012 14 # Rules to configure and make the package.
erjo@1012 15 compile_rules()
erjo@1012 16 {
erjo@1012 17 # Redefine source path src
erjo@1012 18 src=${SOURCE}${VERSION}/unix
erjo@1012 19
erjo@1012 20 cd $src
erjo@1012 21 ./configure --prefix=/usr \
erjo@1012 22 --infodir=/usr/share/info \
erjo@1012 23 --enable-shared \
erjo@1012 24 --disable-symbols \
erjo@1012 25 --mandir=/usr/share/man $CONFIGURE_ARGS
erjo@1012 26 make
erjo@1012 27 make DESTDIR=$PWD/_pkg install
erjo@1012 28 }
erjo@1012 29
erjo@1012 30 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1012 31 genpkg_rules()
erjo@1012 32 {
erjo@1012 33
erjo@1012 34 _pkg=${SOURCE}${VERSION}/unix/_pkg
erjo@1012 35 mkdir -p $fs/usr/lib
erjo@1012 36 cp -a $_pkg/usr/lib/tcl8* $fs/usr/lib
erjo@1012 37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
erjo@1012 38 cp -a $_pkg/usr/bin $fs/usr
erjo@1012 39 strip -s $fs/usr/bin/*
erjo@1012 40 }
erjo@1012 41
erjo@1012 42 clean_wok(){
erjo@1012 43 rm -rf ${SOURCE}${VERSION}
erjo@1012 44 }