wok-current annotate tcllib/receipt @ rev 17528
Add sharutils
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 19 12:30:35 2015 +0100 (2015-01-19) |
parents | de49f29b101e |
children | 86790a278e70 |
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" |
pankso@16504 | 12 HOST_ARCH="i486 arm" |
paul@3687 | 13 |
pascal@15600 | 14 DEPENDS="tcl" |
pascal@15600 | 15 BUILD_DEPENDS="tcl" |
pascal@15600 | 16 |
paul@3687 | 17 # Rules to configure and make the package. |
paul@3687 | 18 compile_rules() |
paul@3687 | 19 { |
paul@3687 | 20 ./configure \ |
paul@3687 | 21 --prefix=/usr \ |
paul@3687 | 22 $CONFIGURE_ARGS && |
pascal@15600 | 23 make DESTDIR=$DESTDIR 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 |
pascal@15600 | 30 cp -a $install/usr/bin $fs/usr |
pascal@15600 | 31 cp -a $install/usr/lib/* $fs/usr/lib |
paul@3687 | 32 } |