wok view tk-dev/receipt @ rev 5012
rm rpm in for loop to save RAM (thanks Eric)
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Sun Feb 28 19:50:05 2010 +0000 (2010-02-28) |
parents | |
children | b81a1aeb22bd |
line source
1 # SliTaz package receipt.
3 PACKAGE="tk-dev"
4 VERSION="8.5.5"
5 CATEGORY="development"
6 SHORT_DESC="The TCL gui toolkit dev files"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="tcl"
9 SOURCE="tk"
10 TARBALL="${SOURCE}${VERSION}-src.tar.gz"
11 WEB_SITE="http://tcl.sourceforge.net/"
12 WANTED="tk"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 _pkg=$WOK/$WANTED/${SOURCE}${VERSION}/unix/_pkg
21 mkdir -p $fs/usr/lib
22 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
23 cp -a $_pkg/usr/lib/tkConfig.sh $fs/usr/lib
24 cp -a $_pkg/usr/include $fs/usr/
25 }
27 clean_wok(){
28 test -d tk* && rm -rf tk*
29 }