wok-stable annotate tcl/receipt @ rev 1735
busybox: update DEPENDS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 22 03:15:23 2008 +0100 (2008-11-22) |
parents | 8ea0c0cc99a0 |
children | c9b31ceaa516 |
rev | line source |
---|---|
erjo@507 | 1 # SliTaz package receipt. |
erjo@507 | 2 |
erjo@507 | 3 PACKAGE="tcl" |
erjo@507 | 4 VERSION="8.4.18" |
erjo@507 | 5 CATEGORY="development" |
erjo@507 | 6 SHORT_DESC="The Tool Command Language" |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@507 | 8 DEPENDS="" |
erjo@507 | 9 TARBALL="${PACKAGE}${VERSION}-src.tar.gz" |
erjo@507 | 10 WEB_SITE="http://tcl.sourceforge.net/" |
erjo@507 | 11 WGET_URL="http://surfnet.dl.sourceforge.net/sourceforge/tcl/$TARBALL" |
erjo@507 | 12 |
erjo@507 | 13 # Rules to configure and make the package. |
erjo@507 | 14 compile_rules() |
erjo@507 | 15 { |
erjo@507 | 16 # Redefine source path src |
erjo@507 | 17 src=${PACKAGE}${VERSION}/unix |
erjo@507 | 18 |
erjo@507 | 19 cd $src |
erjo@507 | 20 ./configure --prefix=/usr \ |
erjo@507 | 21 --infodir=/usr/share/info \ |
erjo@507 | 22 --enable-shared \ |
erjo@507 | 23 --disable-symbols \ |
erjo@507 | 24 --mandir=/usr/share/man $CONFIGURE_ARGS |
erjo@507 | 25 make |
erjo@507 | 26 make DESTDIR=$PWD/_pkg install |
erjo@507 | 27 } |
erjo@507 | 28 |
erjo@507 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@507 | 30 genpkg_rules() |
erjo@507 | 31 { |
erjo@507 | 32 |
erjo@507 | 33 _pkg=${PACKAGE}${VERSION}/unix/_pkg |
erjo@507 | 34 mkdir -p $fs/usr/lib |
erjo@507 | 35 cp -a $_pkg/usr/lib/tcl8* $fs/usr/lib |
erjo@507 | 36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@507 | 37 cp -a $_pkg/usr/bin $fs/usr |
pankso@555 | 38 # Devel files (to lazy to build a -dev pkg) |
pankso@555 | 39 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib |
pankso@555 | 40 cp -a $_pkg/usr/include $fs/usr |
erjo@507 | 41 } |
erjo@507 | 42 |
erjo@507 | 43 clean_wok(){ |
erjo@507 | 44 rm -rf ${PACKAGE}${VERSION} |
erjo@507 | 45 } |