wok-current annotate tk/receipt @ rev 2078

gpgme gpgme-dev vanessa_adt: remove hardcoded *PACKED_SIZE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 24 16:12:02 2009 +0000 (2009-01-24)
parents
children 1d043f8c9982
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"
erjo@1871 8 DEPENDS="tcl"
erjo@1871 9 BUILD_DEPENDS="tcl-dev xorg-libX11-dev"
erjo@1871 10 SOURCE="tk"
erjo@1871 11 TARBALL="${SOURCE}${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"
erjo@1871 14
erjo@1871 15 # Rules to configure and make the package.
erjo@1871 16 compile_rules()
erjo@1871 17 {
erjo@1871 18 # Redefine TK source path
erjo@1871 19 src=${SOURCE}${VERSION}/unix
erjo@1871 20
erjo@1871 21 cd $src
erjo@1871 22 ./configure --prefix=/usr \
erjo@1871 23 --enable-threads \
erjo@1871 24 --enable-shared $CONFIGURE_ARGS &&
erjo@1871 25 make &&
erjo@1871 26 make DESTDIR=$PWD/_pkg 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 _pkg=${SOURCE}${VERSION}/unix/_pkg
erjo@1871 33
erjo@1871 34 mkdir -p $fs/usr/lib
erjo@1871 35 cp -a $_pkg/usr/bin $fs/usr
erjo@1871 36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
erjo@1871 37 cp -a $_pkg/usr/lib/tk${VERSION%%.[0-9]} $fs/usr/lib
erjo@1871 38
erjo@1871 39 cd $fs/usr/bin
erjo@1871 40 ln -s wish${VERSION%%.[0-9]} wish
erjo@1871 41 }
erjo@1871 42
erjo@1871 43 clean_wok()
erjo@1871 44 {
erjo@1871 45 test -d tk* && rm -rf tk*
erjo@1871 46 }