wok-next view make/receipt @ rev 11627

Up xine-ui (0.99.6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 30 22:43:15 2012 +0100 (2012-01-30)
parents 8f67d8f93990
children ebdf263e57ce
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 }