wok view m4/receipt @ rev 131

Creat base dir with slitaz-base-files receipt
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jan 06 21:17:31 2008 +0100 (2008-01-06)
parents
children 17a39e4461e4
line source
1 # SliTaz package receipt.
3 PACKAGE="m4"
4 VERSION="1.4.10"
5 CATEGORY="extra"
6 SHORT_DESC="GNU traditional Unix macro processor."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS=""
9 WANTED=""
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.gnu.org/software/m4/"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/bin $fs/usr
29 strip -s $fs/usr/bin/*
30 }