wok view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="make"
4 VERSION="3.82"
5 CATEGORY="development"
6 SHORT_DESC="GNU Make to generate executables and other files from source."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.gnu.org/software/make/"
10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
17 # http://savannah.gnu.org/bugs/?30612
18 patch -Np1 -i ../stuff/bug30612.patch
19 # http://savannah.gnu.org/bugs/?30723
20 patch -Np1 -i ../stuff/bug30723.patch
22 ./configure --prefix=/usr --infodir=/usr/share/info \
23 --mandir=/usr/share/man $CONFIGURE_ARGS
24 make
25 make check
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share/locale
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
35 strip -s $fs/usr/bin/*
36 }