wok annotate tk8.4/receipt @ rev 1479

madwifi: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 04 14:46:49 2008 +0000 (2008-10-04)
parents 2201a1fac45e
children 52dc4b48ed81
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"
pascal@1423 5 CATEGORY="development"
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