wok-next annotate tk-dev/receipt @ rev 2414

Up: rubygems and fix path (now gen works)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 10 13:12:55 2009 +0100 (2009-03-10)
parents
children b81a1aeb22bd
rev   line source
erjo@1871 1 # SliTaz package receipt.
erjo@1871 2
erjo@1871 3 PACKAGE="tk-dev"
erjo@1871 4 VERSION="8.5.5"
erjo@1871 5 CATEGORY="development"
erjo@1871 6 SHORT_DESC="The TCL gui toolkit dev files"
erjo@1871 7 MAINTAINER="erjo@slitaz.org"
erjo@1871 8 DEPENDS="tcl"
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 }