wok-4.x annotate make/receipt @ rev 7982
Fix: patch two bugs in make 3.82
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Jan 17 18:24:29 2011 +0100 (2011-01-17) |
parents | e40bc1228896 |
children | 573bc563a455 |
rev | line source |
---|---|
pankso@9 | 1 # SliTaz package receipt. |
pankso@9 | 2 |
pankso@9 | 3 PACKAGE="make" |
gokhlayeh@7904 | 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 |
slaxemulator@6693 | 16 |
gokhlayeh@7982 | 17 # http://savannah.gnu.org/bugs/?30612 |
gokhlayeh@7982 | 18 patch -Np1 -i ../stuff/bug30612.patch |
gokhlayeh@7982 | 19 # http://savannah.gnu.org/bugs/?30723 |
gokhlayeh@7982 | 20 patch -Np1 -i ../stuff/bug30723.patch |
gokhlayeh@7982 | 21 |
pankso@9 | 22 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pankso@9 | 23 --mandir=/usr/share/man $CONFIGURE_ARGS |
pankso@9 | 24 make |
slaxemulator@6693 | 25 make check |
pankso@9 | 26 make DESTDIR=$PWD/_pkg install |
pankso@9 | 27 } |
pankso@9 | 28 |
pankso@9 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@9 | 30 genpkg_rules() |
pankso@9 | 31 { |
pankso@9 | 32 mkdir -p $fs/usr/share/locale |
slaxemulator@6693 | 33 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@6693 | 34 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@9 | 35 strip -s $fs/usr/bin/* |
pankso@9 | 36 } |