wok annotate tk/receipt @ rev 9842

vlc: Add dbus-dev to build depends.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun May 15 14:23:05 2011 +0000 (2011-05-15)
parents be13f25e790b
children ff669d22310a
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"
slaxemulator@9365 11 TARBALL="${PACKAGE}${VERSION}-src.tar.gz"
erjo@1871 12 WEB_SITE="http://tcl.sourceforge.net/"
erjo@1871 13 WGET_URL="http://surfnet.dl.sourceforge.net/sourceforge/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
erjo@1871 31 cp -a $_pkg/usr/bin $fs/usr
erjo@1871 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
erjo@1871 33 cp -a $_pkg/usr/lib/tk${VERSION%%.[0-9]} $fs/usr/lib
erjo@1871 34
erjo@1871 35 cd $fs/usr/bin
erjo@1871 36 ln -s wish${VERSION%%.[0-9]} wish
erjo@1871 37 }