wok-stable view make/receipt @ rev 10634
jdk6-*: fix receipt (if no files it must be a meta package)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 26 23:47:17 2011 +0200 (2011-05-26) |
parents | 8f67d8f93990 |
children |
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 DEPENDS="glibc-base"
13 BUILD_DEPENDS="gcc"
15 # Rules to compile & install the temporary toolchain.
16 cook_tmp_toolchain()
17 {
18 cd $src
19 # http://savannah.gnu.org/bugs/?30612
20 patch -Np1 -i $stuff/bug30612.patch
21 # http://savannah.gnu.org/bugs/?30723
22 patch -Np1 -i $stuff/bug30723.patch
23 ./configure && make && make install
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 cd $src
30 # http://savannah.gnu.org/bugs/?30612
31 patch -Np1 -i $stuff/bug30612.patch
32 # http://savannah.gnu.org/bugs/?30723
33 patch -Np1 -i $stuff/bug30723.patch
34 ./configure $CONFIGURE_ARGS &&
35 make && make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
42 cp -a $_pkg/usr/bin $fs/usr
43 }