wok annotate make/receipt @ rev 7931

Up: slitaz-tools (4.0)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Jan 11 13:40:16 2011 +0100 (2011-01-11)
parents 7d65298a998e
children a882d098ba64
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@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
pankso@9 17 ./configure --prefix=/usr --infodir=/usr/share/info \
pankso@9 18 --mandir=/usr/share/man $CONFIGURE_ARGS
pankso@9 19 make
slaxemulator@6693 20 make check
pankso@9 21 make DESTDIR=$PWD/_pkg install
pankso@9 22 }
pankso@9 23
pankso@9 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@9 25 genpkg_rules()
pankso@9 26 {
pankso@9 27 mkdir -p $fs/usr/share/locale
slaxemulator@6693 28 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@6693 29 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
pankso@9 30 strip -s $fs/usr/bin/*
pankso@9 31 }