wok annotate tk/receipt @ rev 2439
testdisk, tk, transmission: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 13 08:17:18 2009 +0000 (2009-03-13) |
parents | aa93d8e9b65f |
children | 866fa2493b1b |
rev | line source |
---|---|
erjo@1871 | 1 # SliTaz package receipt. |
erjo@1871 | 2 |
erjo@1871 | 3 PACKAGE="tk" |
erjo@1871 | 4 VERSION="8.5.5" |
erjo@1871 | 5 CATEGORY="development" |
erjo@1871 | 6 SHORT_DESC="The TCL gui toolkit" |
erjo@1871 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@2439 | 8 DEPENDS="tcl expat fontconfig freetype xorg-libX11 xorg-libXau xorg-libXdmcp \ |
pascal@2439 | 9 xorg-libXft xorg-libXrender zlib" |
erjo@1871 | 10 BUILD_DEPENDS="tcl-dev xorg-libX11-dev" |
erjo@1871 | 11 SOURCE="tk" |
erjo@1871 | 12 TARBALL="${SOURCE}${VERSION}-src.tar.gz" |
erjo@1871 | 13 WEB_SITE="http://tcl.sourceforge.net/" |
erjo@1871 | 14 WGET_URL="http://surfnet.dl.sourceforge.net/sourceforge/tcl/$TARBALL" |
erjo@1871 | 15 |
erjo@1871 | 16 # Rules to configure and make the package. |
erjo@1871 | 17 compile_rules() |
erjo@1871 | 18 { |
erjo@1871 | 19 # Redefine TK source path |
erjo@1871 | 20 src=${SOURCE}${VERSION}/unix |
erjo@1871 | 21 |
erjo@1871 | 22 cd $src |
erjo@1871 | 23 ./configure --prefix=/usr \ |
erjo@1871 | 24 --enable-threads \ |
erjo@1871 | 25 --enable-shared $CONFIGURE_ARGS && |
erjo@1871 | 26 make && |
erjo@1871 | 27 make DESTDIR=$PWD/_pkg install |
erjo@1871 | 28 } |
erjo@1871 | 29 |
erjo@1871 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1871 | 31 genpkg_rules() |
erjo@1871 | 32 { |
erjo@1871 | 33 _pkg=${SOURCE}${VERSION}/unix/_pkg |
erjo@1871 | 34 |
erjo@1871 | 35 mkdir -p $fs/usr/lib |
erjo@1871 | 36 cp -a $_pkg/usr/bin $fs/usr |
erjo@1871 | 37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@1871 | 38 cp -a $_pkg/usr/lib/tk${VERSION%%.[0-9]} $fs/usr/lib |
erjo@1871 | 39 |
erjo@1871 | 40 cd $fs/usr/bin |
erjo@1871 | 41 ln -s wish${VERSION%%.[0-9]} wish |
erjo@1871 | 42 } |
erjo@1871 | 43 |
erjo@1871 | 44 clean_wok() |
erjo@1871 | 45 { |
erjo@1871 | 46 test -d tk* && rm -rf tk* |
erjo@1871 | 47 } |