wok-stable view make/receipt @ rev 8196
imported patch toolchain/linux-api-headers.patch
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 27 00:20:50 2011 +0100 (2011-01-27) |
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 }