wok-4.x annotate tcl8.4-dev/receipt @ rev 1012
Add: tk8.4, tk5.4-dev, tcl8.4, tcl8.4-dev (tcl & tcl-dev must be removed).
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue Jul 08 01:18:51 2008 +0200 (2008-07-08) |
parents | |
children | 3e397378bee1 |
rev | line source |
---|---|
erjo@1012 | 1 # SliTaz package receipt. |
erjo@1012 | 2 |
erjo@1012 | 3 PACKAGE="tcl8.4-dev" |
erjo@1012 | 4 VERSION="8.4.18" |
erjo@1012 | 5 CATEGORY="development" |
erjo@1012 | 6 SHORT_DESC="The Tool Command Language dev files" |
erjo@1012 | 7 MAINTAINER="Erjo <erjo@slitaz.org>" |
erjo@1012 | 8 DEPENDS="tcl8.4" |
erjo@1012 | 9 WANTED="tcl8.4" |
erjo@1012 | 10 SOURCE="tcl" |
erjo@1012 | 11 TARBALL="${PACKAGE}${VERSION}-src.tar.gz" |
erjo@1012 | 12 WEB_SITE="http://tcl.sourceforge.net/" |
erjo@1012 | 13 |
erjo@1012 | 14 |
erjo@1012 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1012 | 16 genpkg_rules() |
erjo@1012 | 17 { |
erjo@1012 | 18 |
erjo@1012 | 19 src=$WOK/$WANTED/${SOURCE}${VERSION} |
erjo@1012 | 20 _pkg=$src/unix/_pkg |
erjo@1012 | 21 |
erjo@1012 | 22 mkdir -p $fs/usr/lib |
erjo@1012 | 23 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib |
erjo@1012 | 24 cp -a $_pkg/usr/lib/tclConfig.sh $fs/usr/lib |
erjo@1012 | 25 cp -a $_pkg/usr/include $fs/usr |
erjo@1012 | 26 cp -a $src/generic/tcl*.h $fs/usr/include |
erjo@1012 | 27 } |
erjo@1012 | 28 |