wok-6.x diff tk-dev/receipt @ rev 5042

Up: lvm2; split libdevmapper from lvm2 now
author Rohit Joshi <jozee@slitaz.org>
date Thu Mar 04 10:43:49 2010 +0000 (2010-03-04)
parents
children b81a1aeb22bd
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tk-dev/receipt	Thu Mar 04 10:43:49 2010 +0000
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="tk-dev"
     1.7 +VERSION="8.5.5"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="The TCL gui toolkit dev files"
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +DEPENDS="tcl"
    1.12 +SOURCE="tk"
    1.13 +TARBALL="${SOURCE}${VERSION}-src.tar.gz"
    1.14 +WEB_SITE="http://tcl.sourceforge.net/"
    1.15 +WANTED="tk"
    1.16 +
    1.17 +
    1.18 +
    1.19 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.20 +genpkg_rules()
    1.21 +{
    1.22 +	_pkg=$WOK/$WANTED/${SOURCE}${VERSION}/unix/_pkg
    1.23 +	
    1.24 +	mkdir -p $fs/usr/lib
    1.25 +	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.26 +	cp -a $_pkg/usr/lib/tkConfig.sh $fs/usr/lib
    1.27 +	cp -a $_pkg/usr/include $fs/usr/
    1.28 +}
    1.29 +
    1.30 +clean_wok(){
    1.31 +	test -d tk* && rm -rf tk*
    1.32 +}