wok-6.x annotate tk/receipt @ rev 12158

Up slitaz-tools (4.8)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Mar 17 16:12:20 2012 +0100 (2012-03-17)
parents e8768e5178a6
children de49f29b101e
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@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"
slaxemulator@9365 11 TARBALL="${PACKAGE}${VERSION}-src.tar.gz"
erjo@1871 12 WEB_SITE="http://tcl.sourceforge.net/"
slaxemulator@10998 13 WGET_URL="$SF_MIRROR/tcl/$TARBALL"
jozee@4973 14 TAGS="programming language"
erjo@1871 15
erjo@1871 16 # Rules to configure and make the package.
erjo@1871 17 compile_rules()
erjo@1871 18 {
slaxemulator@8751 19 cd $src/unix
erjo@1871 20 ./configure --prefix=/usr \
erjo@1871 21 --enable-threads \
erjo@1871 22 --enable-shared $CONFIGURE_ARGS &&
erjo@1871 23 make &&
slaxemulator@8751 24 make DESTDIR=$DESTDIR install
erjo@1871 25 }
erjo@1871 26
erjo@1871 27 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1871 28 genpkg_rules()
erjo@1871 29 {
erjo@1871 30 mkdir -p $fs/usr/lib
slaxemulator@10998 31 cp -a $install/usr/bin $fs/usr
slaxemulator@10998 32 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@10998 33 cp -a $install/usr/lib/tk${VERSION:0:3} $fs/usr/lib
erjo@1871 34
erjo@1871 35 cd $fs/usr/bin
slaxemulator@10998 36 ln -s wish${VERSION:0:3} wish
erjo@1871 37 }