wok-6.x annotate make/receipt @ rev 3595

merge
author Liu Peng <rocky@slitaz.org>
date Sun Jun 28 14:26:17 2009 +0000 (2009-06-28)
parents 9a12d7729c6f
children 8f3b8ae1bd16
rev   line source
pankso@9 1 # SliTaz package receipt.
pankso@9 2
pankso@9 3 PACKAGE="make"
pankso@9 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
pankso@9 16 ./configure --prefix=/usr --infodir=/usr/share/info \
pankso@9 17 --mandir=/usr/share/man $CONFIGURE_ARGS
pankso@9 18 make
pankso@9 19 make DESTDIR=$PWD/_pkg install
pankso@9 20 }
pankso@9 21
pankso@9 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@9 23 genpkg_rules()
pankso@9 24 {
pankso@9 25 mkdir -p $fs/usr/share/locale
pankso@9 26 cp -a $_pkg/usr/bin $fs/usr
pankso@9 27 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
pankso@9 28 strip -s $fs/usr/bin/*
pankso@9 29 }