wok annotate tk/receipt @ rev 15600
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 05 15:25:09 2013 +0000 (2013-12-05) |
parents | ff669d22310a |
children | 4d888974dc59 |
rev | line source |
---|---|
erjo@1871 | 1 # SliTaz package receipt. |
erjo@1871 | 2 |
erjo@1871 | 3 PACKAGE="tk" |
slaxemulator@10998 | 4 VERSION="8.5.10" |
erjo@1871 | 5 CATEGORY="development" |
erjo@1871 | 6 SHORT_DESC="The TCL gui toolkit" |
erjo@1871 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15600 | 8 LICENSE="BSD" |
slaxemulator@9365 | 9 TARBALL="${PACKAGE}${VERSION}-src.tar.gz" |
erjo@1871 | 10 WEB_SITE="http://tcl.sourceforge.net/" |
slaxemulator@10998 | 11 WGET_URL="$SF_MIRROR/tcl/$TARBALL" |
jozee@4973 | 12 TAGS="programming language" |
erjo@1871 | 13 |
pascal@15600 | 14 DEPENDS="tcl expat fontconfig freetype xorg-libX11 xorg-libXau xorg-libXdmcp \ |
pascal@15600 | 15 xorg-libXft xorg-libXrender zlib xorg-libXss" |
pascal@15600 | 16 BUILD_DEPENDS="tcl-dev xorg-libX11-dev" |
pascal@15600 | 17 |
erjo@1871 | 18 # Rules to configure and make the package. |
erjo@1871 | 19 compile_rules() |
erjo@1871 | 20 { |
slaxemulator@8751 | 21 cd $src/unix |
erjo@1871 | 22 ./configure --prefix=/usr \ |
erjo@1871 | 23 --enable-threads \ |
erjo@1871 | 24 --enable-shared $CONFIGURE_ARGS && |
erjo@1871 | 25 make && |
slaxemulator@8751 | 26 make DESTDIR=$DESTDIR install |
erjo@1871 | 27 } |
erjo@1871 | 28 |
erjo@1871 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1871 | 30 genpkg_rules() |
erjo@1871 | 31 { |
erjo@1871 | 32 mkdir -p $fs/usr/lib |
slaxemulator@10998 | 33 cp -a $install/usr/bin $fs/usr |
slaxemulator@10998 | 34 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@10998 | 35 cp -a $install/usr/lib/tk${VERSION:0:3} $fs/usr/lib |
erjo@1871 | 36 |
erjo@1871 | 37 cd $fs/usr/bin |
slaxemulator@10998 | 38 ln -s wish${VERSION:0:3} wish |
erjo@1871 | 39 } |