wok-stable annotate m4/receipt @ rev 10504

obby: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 25 14:49:54 2011 +0200 (2011-05-25)
parents 246a832a3ec1
children
rev   line source
pankso@19 1 # SliTaz package receipt.
pankso@19 2
pankso@19 3 PACKAGE="m4"
slaxemulator@8967 4 VERSION="1.4.16"
pankso@204 5 CATEGORY="development"
pankso@19 6 SHORT_DESC="GNU traditional Unix macro processor."
pankso@19 7 MAINTAINER="pankso@slitaz.org"
pankso@19 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@19 9 WEB_SITE="http://www.gnu.org/software/m4/"
pankso@19 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pankso@19 11
slaxemulator@10372 12 DEPENDS="glibc-base"
slaxemulator@10372 13 BUILD_DEPENDS="gcc"
slaxemulator@10372 14
slaxemulator@10418 15 # Rules to compile & install the temporary toolchain by Tazwok.
slaxemulator@10418 16 cook_tmp_toolchain()
slaxemulator@10418 17 {
slaxemulator@10418 18 cd $src
slaxemulator@10418 19 ./configure && make && make install
slaxemulator@10418 20 }
slaxemulator@10418 21
slaxemulator@10418 22
pankso@19 23 # Rules to configure and make the package.
pankso@19 24 compile_rules()
pankso@19 25 {
pankso@19 26 cd $src
slaxemulator@10372 27 ./configure --build=$HOST_SYSTEM --host=$HOST_SYSTEM &&
pankso@10028 28 make && make install
pankso@19 29 }
pankso@19 30
pankso@19 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@19 32 genpkg_rules()
pankso@19 33 {
pankso@19 34 mkdir -p $fs/usr
pankso@19 35 cp -a $_pkg/usr/bin $fs/usr
pankso@19 36 }