wok-6.x annotate tk8.4/receipt @ rev 1088

slitaz-configs: typo in receipt
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jul 16 18:42:57 2008 +0200 (2008-07-16)
parents
children 03a799424aaa
rev   line source
erjo@1012 1 # SliTaz package receipt.
erjo@1012 2
erjo@1012 3 PACKAGE="tk8.4"
erjo@1012 4 VERSION="8.4.18"
erjo@1012 5 CATEGORY="developement"
erjo@1012 6 SHORT_DESC="The TCL gui toolkit"
erjo@1012 7 MAINTAINER="erjo@slitaz.org"
erjo@1012 8 DEPENDS="tcl8.4"
erjo@1012 9 BUILD_DEPENDS="tcl8.4-dev"
erjo@1012 10 SOURCE="tk"
erjo@1012 11 TARBALL="${SOURCE}${VERSION}-src.tar.gz"
erjo@1012 12 WEB_SITE="http://tcl.sourceforge.net/"
erjo@1012 13 WGET_URL="http://surfnet.dl.sourceforge.net/sourceforge/tcl/$TARBALL"
erjo@1012 14
erjo@1012 15 # Rules to configure and make the package.
erjo@1012 16 compile_rules()
erjo@1012 17 {
erjo@1012 18 # Redefine TK source path
erjo@1012 19 src=${SOURCE}${VERSION}/unix
erjo@1012 20
erjo@1012 21 cd $src
erjo@1012 22 ./configure --prefix=/usr \
erjo@1012 23 --enable-threads \
erjo@1012 24 --enable-shared $CONFIGURE_ARGS
erjo@1012 25 make
erjo@1012 26 make DESTDIR=$PWD/_pkg install
erjo@1012 27 }
erjo@1012 28
erjo@1012 29 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1012 30 genpkg_rules()
erjo@1012 31 {
erjo@1012 32 _pkg=${SOURCE}${VERSION}/unix/_pkg
erjo@1012 33
erjo@1012 34 mkdir -p $fs/usr/lib
erjo@1012 35 cp -a $_pkg/usr/bin $fs/usr
erjo@1012 36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
erjo@1012 37 cp -a $_pkg/usr/lib/tk8.4 $fs/usr/lib
erjo@1012 38
erjo@1012 39 cd $fs/usr/bin
erjo@1012 40 ln -s wish8.4 wish
erjo@1012 41 }
erjo@1012 42