wok-next annotate make/receipt @ rev 8417
Up: xorg-printproto to 1.0.5.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Feb 05 17:39:51 2011 +0000 (2011-02-05) |
parents | a882d098ba64 |
children | 02bbaa9d12ba |
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" |
gokhlayeh@8199 | 8 DEPENDS="glibc-base" |
gokhlayeh@8199 | 9 BUILD_DEPENDS="gcc" |
pankso@9 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@9 | 11 WEB_SITE="http://www.gnu.org/software/make/" |
pankso@9 | 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@9 | 13 |
pankso@9 | 14 # Rules to configure and make the package. |
pankso@9 | 15 compile_rules() |
pankso@9 | 16 { |
pankso@9 | 17 cd $src |
slaxemulator@6693 | 18 |
gokhlayeh@7982 | 19 # http://savannah.gnu.org/bugs/?30612 |
gokhlayeh@7982 | 20 patch -Np1 -i ../stuff/bug30612.patch |
gokhlayeh@7982 | 21 # http://savannah.gnu.org/bugs/?30723 |
gokhlayeh@7982 | 22 patch -Np1 -i ../stuff/bug30723.patch |
gokhlayeh@7982 | 23 |
gokhlayeh@8199 | 24 ./configure && make && make check && make install |
pankso@9 | 25 } |
pankso@9 | 26 |
pankso@9 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@9 | 28 genpkg_rules() |
pankso@9 | 29 { |
pankso@9 | 30 mkdir -p $fs/usr/share/locale |
slaxemulator@6693 | 31 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@6693 | 32 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@9 | 33 strip -s $fs/usr/bin/* |
pankso@9 | 34 } |