wok-current annotate tcllib/receipt @ rev 14448
Up: slock (1.1)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Apr 27 02:45:48 2013 +0200 (2013-04-27) |
parents | 09f44a2ea4db |
children | de49f29b101e |
rev | line source |
---|---|
paul@3687 | 1 # SliTaz package receipt. |
paul@3687 | 2 |
paul@3687 | 3 PACKAGE="tcllib" |
paul@7802 | 4 VERSION="1.12" |
paul@3687 | 5 CATEGORY="development" |
paul@3687 | 6 SHORT_DESC="Tcl-only library of standard routines for Tcl." |
paul@3687 | 7 MAINTAINER="paul@slitaz.org" |
paul@3687 | 8 DEPENDS="tcl" |
paul@3687 | 9 BUILD_DEPENDS="tcl" |
paul@3687 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@3687 | 11 WEB_SITE="http://sourceforge.net/projects/tcllib/" |
paul@3687 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
paul@3687 | 13 |
paul@3687 | 14 # Rules to configure and make the package. |
paul@3687 | 15 compile_rules() |
paul@3687 | 16 { |
paul@3687 | 17 cd $src |
paul@3687 | 18 ./configure \ |
paul@3687 | 19 --prefix=/usr \ |
paul@3687 | 20 --infodir=/usr/share/info \ |
paul@3687 | 21 --mandir=/usr/share/man \ |
paul@3687 | 22 $CONFIGURE_ARGS && |
paul@3687 | 23 make DESTDIR=$PWD/_pkg install |
paul@3687 | 24 } |
paul@3687 | 25 |
paul@3687 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@3687 | 27 genpkg_rules() |
paul@3687 | 28 { |
paul@3687 | 29 mkdir -p $fs/usr/lib |
paul@3687 | 30 cp -a $_pkg/usr/bin $fs/usr |
paul@3687 | 31 cp -a $_pkg/usr/lib/* $fs/usr/lib |
paul@3687 | 32 } |
paul@3687 | 33 |