wok-current annotate make/receipt @ rev 6596
Up python-numpy (1.5.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 09 21:02:07 2010 +0200 (2010-10-09) |
parents | 17a39e4461e4 |
children | 0d52f00c5fdd |
rev | line source |
---|---|
pankso@9 | 1 # SliTaz package receipt. |
pankso@9 | 2 |
pankso@9 | 3 PACKAGE="make" |
slaxemulator@6543 | 4 VERSION="3.82" |
pankso@204 | 5 CATEGORY="development" |
pankso@9 | 6 SHORT_DESC="GNU Make to generate executables and other files from source." |
pankso@9 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@9 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@9 | 9 WEB_SITE="http://www.gnu.org/software/make/" |
pankso@9 | 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@9 | 11 |
pankso@9 | 12 # Rules to configure and make the package. |
pankso@9 | 13 compile_rules() |
pankso@9 | 14 { |
pankso@9 | 15 cd $src |
pankso@9 | 16 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pankso@9 | 17 --mandir=/usr/share/man $CONFIGURE_ARGS |
pankso@9 | 18 make |
pankso@9 | 19 make DESTDIR=$PWD/_pkg install |
pankso@9 | 20 } |
pankso@9 | 21 |
pankso@9 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@9 | 23 genpkg_rules() |
pankso@9 | 24 { |
pankso@9 | 25 mkdir -p $fs/usr/share/locale |
pankso@9 | 26 cp -a $_pkg/usr/bin $fs/usr |
pankso@9 | 27 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@9 | 28 strip -s $fs/usr/bin/* |
pankso@9 | 29 } |