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

add/improve TAGS r* receipts
author Rohit Joshi <jozee@slitaz.org>
date Wed Feb 24 11:44:49 2010 +0000 (2010-02-24)
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 }