wok annotate tcllib/receipt @ rev 15795
Up slitaz-tools (5.5.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Jan 19 14:21:08 2014 +0100 (2014-01-19) |
parents | ba61bc5af9e1 |
children | f8e9bf4989d3 |
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" |
pascal@15600 | 8 LICENSE="BSD" |
paul@3687 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@3687 | 10 WEB_SITE="http://sourceforge.net/projects/tcllib/" |
paul@3687 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
paul@3687 | 12 |
pascal@15600 | 13 DEPENDS="tcl" |
pascal@15600 | 14 BUILD_DEPENDS="tcl" |
pascal@15600 | 15 |
paul@3687 | 16 # Rules to configure and make the package. |
paul@3687 | 17 compile_rules() |
paul@3687 | 18 { |
paul@3687 | 19 cd $src |
paul@3687 | 20 ./configure \ |
paul@3687 | 21 --prefix=/usr \ |
paul@3687 | 22 --infodir=/usr/share/info \ |
paul@3687 | 23 --mandir=/usr/share/man \ |
paul@3687 | 24 $CONFIGURE_ARGS && |
pascal@15600 | 25 make DESTDIR=$DESTDIR install |
paul@3687 | 26 } |
paul@3687 | 27 |
paul@3687 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@3687 | 29 genpkg_rules() |
paul@3687 | 30 { |
paul@3687 | 31 mkdir -p $fs/usr/lib |
pascal@15600 | 32 cp -a $install/usr/bin $fs/usr |
pascal@15600 | 33 cp -a $install/usr/lib/* $fs/usr/lib |
paul@3687 | 34 } |