wok-next view tcl8.4-dev/receipt @ rev 1564

vanessa_adt: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 13 14:51:37 2008 +0000 (2008-10-13)
parents 2201a1fac45e
children
line source
1 # SliTaz package receipt.
3 PACKAGE="tcl8.4-dev"
4 VERSION="8.4.18"
5 CATEGORY="development"
6 SHORT_DESC="The Tool Command Language dev files"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="tcl8.4"
9 WANTED="tcl8.4"
10 SOURCE="tcl"
11 TARBALL="${PACKAGE}${VERSION}-src.tar.gz"
12 WEB_SITE="http://tcl.sourceforge.net/"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
19 src=$WOK/$WANTED/${SOURCE}${VERSION}
20 _pkg=$src/unix/_pkg
22 mkdir -p $fs/usr/lib
23 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
24 cp -a $_pkg/usr/lib/tclConfig.sh $fs/usr/lib
25 cp -a $_pkg/usr/include $fs/usr
26 cp -a $src/generic/tcl*.h $fs/usr/include
27 }