wok annotate tk-dev/receipt @ rev 7988

Merge
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Jan 18 00:51:18 2011 +0100 (2011-01-18)
parents b81a1aeb22bd
children be13f25e790b
rev   line source
erjo@1871 1 # SliTaz package receipt.
erjo@1871 2
erjo@1871 3 PACKAGE="tk-dev"
slaxemulator@6422 4 VERSION="8.5.9"
erjo@1871 5 CATEGORY="development"
erjo@1871 6 SHORT_DESC="The TCL gui toolkit dev files"
erjo@1871 7 MAINTAINER="erjo@slitaz.org"
slaxemulator@6620 8 DEPENDS="tcl tk"
erjo@1871 9 SOURCE="tk"
erjo@1871 10 TARBALL="${SOURCE}${VERSION}-src.tar.gz"
erjo@1871 11 WEB_SITE="http://tcl.sourceforge.net/"
erjo@1871 12 WANTED="tk"
erjo@1871 13
erjo@1871 14
erjo@1871 15
erjo@1871 16 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1871 17 genpkg_rules()
erjo@1871 18 {
erjo@1871 19 _pkg=$WOK/$WANTED/${SOURCE}${VERSION}/unix/_pkg
erjo@1871 20
erjo@1871 21 mkdir -p $fs/usr/lib
erjo@1871 22 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
erjo@1871 23 cp -a $_pkg/usr/lib/tkConfig.sh $fs/usr/lib
erjo@1871 24 cp -a $_pkg/usr/include $fs/usr/
erjo@1871 25 }
erjo@1871 26
erjo@1871 27 clean_wok(){
erjo@1871 28 test -d tk* && rm -rf tk*
erjo@1871 29 }