wok view make/receipt @ rev 10722

usbutils: fix usb.ids path (see BUGS in receipt)
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 29 00:27:29 2011 +0200 (2011-05-29)
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 }