wok-current annotate tk/receipt @ rev 9035
Fixed gtk-engines-rezlooks.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Mar 03 17:32:36 2011 +0000 (2011-03-03) |
parents | b81a1aeb22bd |
children | e8768e5178a6 |
rev | line source |
---|---|
erjo@1871 | 1 # SliTaz package receipt. |
erjo@1871 | 2 |
erjo@1871 | 3 PACKAGE="tk" |
slaxemulator@6422 | 4 VERSION="8.5.9" |
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@5007 | 9 xorg-libXft xorg-libXrender zlib xorg-libXss" |
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" |
jozee@4973 | 15 TAGS="programming language" |
erjo@1871 | 16 |
erjo@1871 | 17 # Rules to configure and make the package. |
erjo@1871 | 18 compile_rules() |
erjo@1871 | 19 { |
slaxemulator@8751 | 20 cd $src/unix |
erjo@1871 | 21 ./configure --prefix=/usr \ |
erjo@1871 | 22 --enable-threads \ |
erjo@1871 | 23 --enable-shared $CONFIGURE_ARGS && |
erjo@1871 | 24 make && |
slaxemulator@8751 | 25 make DESTDIR=$DESTDIR install |
erjo@1871 | 26 } |
erjo@1871 | 27 |
erjo@1871 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1871 | 29 genpkg_rules() |
erjo@1871 | 30 { |
erjo@1871 | 31 mkdir -p $fs/usr/lib |
erjo@1871 | 32 cp -a $_pkg/usr/bin $fs/usr |
erjo@1871 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@1871 | 34 cp -a $_pkg/usr/lib/tk${VERSION%%.[0-9]} $fs/usr/lib |
erjo@1871 | 35 |
erjo@1871 | 36 cd $fs/usr/bin |
erjo@1871 | 37 ln -s wish${VERSION%%.[0-9]} wish |
erjo@1871 | 38 } |