wok-next annotate tcl/receipt @ rev 4973
add/improve TAGS t* receipts
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Wed Feb 24 12:13:18 2010 +0000 (2010-02-24) |
parents | c9b31ceaa516 |
children | ef1d289e8344 |
rev | line source |
---|---|
erjo@507 | 1 # SliTaz package receipt. |
erjo@507 | 2 |
erjo@507 | 3 PACKAGE="tcl" |
erjo@1870 | 4 VERSION="8.5.5" |
erjo@507 | 5 CATEGORY="development" |
erjo@507 | 6 SHORT_DESC="The Tool Command Language" |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@507 | 8 DEPENDS="" |
erjo@1870 | 9 SOURCE="tcl" |
erjo@1870 | 10 TARBALL="${SOURCE}${VERSION}-src.tar.gz" |
erjo@507 | 11 WEB_SITE="http://tcl.sourceforge.net/" |
erjo@507 | 12 WGET_URL="http://surfnet.dl.sourceforge.net/sourceforge/tcl/$TARBALL" |
jozee@4973 | 13 TAGS="language programming" |
erjo@507 | 14 |
erjo@507 | 15 # Rules to configure and make the package. |
erjo@507 | 16 compile_rules() |
erjo@507 | 17 { |
erjo@507 | 18 # Redefine source path src |
erjo@1870 | 19 src=${SOURCE}${VERSION}/unix |
erjo@507 | 20 |
erjo@507 | 21 cd $src |
erjo@507 | 22 ./configure --prefix=/usr \ |
erjo@507 | 23 --infodir=/usr/share/info \ |
erjo@507 | 24 --enable-shared \ |
erjo@507 | 25 --disable-symbols \ |
erjo@1870 | 26 --mandir=/usr/share/man $CONFIGURE_ARGS && \ |
erjo@1870 | 27 make && \ |
erjo@507 | 28 make DESTDIR=$PWD/_pkg install |
erjo@507 | 29 } |
erjo@507 | 30 |
erjo@507 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@507 | 32 genpkg_rules() |
erjo@507 | 33 { |
erjo@507 | 34 |
erjo@1870 | 35 _pkg=${SOURCE}${VERSION}/unix/_pkg |
erjo@507 | 36 mkdir -p $fs/usr/lib |
erjo@507 | 37 cp -a $_pkg/usr/lib/tcl8* $fs/usr/lib |
erjo@507 | 38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@507 | 39 cp -a $_pkg/usr/bin $fs/usr |
erjo@1870 | 40 strip -s $fs/usr/bin/* |
erjo@507 | 41 } |
erjo@507 | 42 |
erjo@507 | 43 clean_wok(){ |
erjo@1870 | 44 test -d ${SOURCE}${VERSION} && rm -rf ${SOURCE}${VERSION} |
erjo@507 | 45 } |