wok-next view m4/receipt @ rev 10372

m4: Forgot to add --build and --host.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon May 23 05:54:02 2011 +0000 (2011-05-23)
parents 1a839851e167
children aca8a14a46d9
line source
1 # SliTaz package receipt.
3 PACKAGE="m4"
4 VERSION="1.4.16"
5 CATEGORY="development"
6 SHORT_DESC="GNU traditional Unix macro processor."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.gnu.org/software/m4/"
10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="glibc-base"
13 BUILD_DEPENDS="gcc"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --build=$HOST_SYSTEM --host=$HOST_SYSTEM &&
20 make && make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/bin $fs/usr
28 }