wok-6.x annotate make/receipt @ rev 11650
Up: firefox (10.0)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Feb 06 16:36:25 2012 +0100 (2012-02-06) |
parents | 8f67d8f93990 |
children | ebdf263e57ce |
rev | line source |
---|---|
pankso@9 | 1 # SliTaz package receipt. |
pankso@9 | 2 |
pankso@9 | 3 PACKAGE="make" |
gokhlayeh@7904 | 4 VERSION="3.82" |
pankso@204 | 5 CATEGORY="development" |
pankso@9 | 6 SHORT_DESC="GNU Make to generate executables and other files from source." |
pankso@9 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@9 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@9 | 9 WEB_SITE="http://www.gnu.org/software/make/" |
pankso@9 | 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@9 | 11 |
pankso@9660 | 12 DEPENDS="glibc-base" |
pankso@9660 | 13 BUILD_DEPENDS="gcc" |
pankso@9660 | 14 |
slaxemulator@10414 | 15 # Rules to compile & install the temporary toolchain. |
slaxemulator@10414 | 16 cook_tmp_toolchain() |
slaxemulator@10414 | 17 { |
slaxemulator@10414 | 18 cd $src |
slaxemulator@10414 | 19 # http://savannah.gnu.org/bugs/?30612 |
slaxemulator@10414 | 20 patch -Np1 -i $stuff/bug30612.patch |
slaxemulator@10414 | 21 # http://savannah.gnu.org/bugs/?30723 |
slaxemulator@10414 | 22 patch -Np1 -i $stuff/bug30723.patch |
slaxemulator@10414 | 23 ./configure && make && make install |
slaxemulator@10414 | 24 } |
slaxemulator@10414 | 25 |
pankso@9 | 26 # Rules to configure and make the package. |
pankso@9 | 27 compile_rules() |
pankso@9 | 28 { |
pankso@9 | 29 cd $src |
gokhlayeh@7982 | 30 # http://savannah.gnu.org/bugs/?30612 |
pankso@9659 | 31 patch -Np1 -i $stuff/bug30612.patch |
gokhlayeh@7982 | 32 # http://savannah.gnu.org/bugs/?30723 |
pankso@9659 | 33 patch -Np1 -i $stuff/bug30723.patch |
pankso@10044 | 34 ./configure $CONFIGURE_ARGS && |
pankso@10044 | 35 make && make install |
pankso@9 | 36 } |
pankso@9 | 37 |
pankso@9 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@9 | 39 genpkg_rules() |
pankso@9 | 40 { |
pankso@9659 | 41 mkdir -p $fs/usr |
slaxemulator@6693 | 42 cp -a $_pkg/usr/bin $fs/usr |
pankso@9 | 43 } |