wok-4.x annotate make/receipt @ rev 7487

firefox-lang-fr:new language package for France
author fireflyoo <lufeng369@gmail.com>
date Fri Dec 03 19:01:31 2010 +0800 (2010-12-03)
parents 0d52f00c5fdd
children e40bc1228896
rev   line source
pankso@9 1 # SliTaz package receipt.
pankso@9 2
pankso@9 3 PACKAGE="make"
slaxemulator@6761 4 VERSION="3.81"
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@9 12 # Rules to configure and make the package.
pankso@9 13 compile_rules()
pankso@9 14 {
pankso@9 15 cd $src
slaxemulator@6693 16
slaxemulator@6693 17 # http://savannah.gnu.org/bugs/?30612
slaxemulator@6761 18 #patch -Np1 -i ../stuff/bug30612.patch
slaxemulator@6693 19
slaxemulator@6693 20 # http://savannah.gnu.org/bugs/?30723
slaxemulator@6761 21 #patch -Np1 -i ../stuff/bug30723.patch
slaxemulator@6693 22
pankso@9 23 ./configure --prefix=/usr --infodir=/usr/share/info \
pankso@9 24 --mandir=/usr/share/man $CONFIGURE_ARGS
pankso@9 25 make
slaxemulator@6693 26 make check
pankso@9 27 make DESTDIR=$PWD/_pkg install
pankso@9 28 }
pankso@9 29
pankso@9 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@9 31 genpkg_rules()
pankso@9 32 {
pankso@9 33 mkdir -p $fs/usr/share/locale
slaxemulator@6693 34 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@6693 35 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
pankso@9 36 strip -s $fs/usr/bin/*
pankso@9 37 }