wok-current annotate tcl8.4-dev/receipt @ rev 1153
glibc: build deps and genpkg all splited packages
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Jul 27 00:57:59 2008 +0200 (2008-07-27) |
parents | 2201a1fac45e |
children |
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" |
pascal@1065 | 7 MAINTAINER="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 |