wok-current annotate m4/receipt @ rev 544
busybox/cpio: avoid cannot make dir warnings
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 12 12:36:17 2008 +0200 (2008-04-12) |
parents | 17a39e4461e4 |
children | 2f7e334d7e4c |
rev | line source |
---|---|
pankso@19 | 1 # SliTaz package receipt. |
pankso@19 | 2 |
pankso@19 | 3 PACKAGE="m4" |
pankso@530 | 4 VERSION="1.4.11" |
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 DEPENDS="" |
pankso@19 | 9 WANTED="" |
pankso@19 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@19 | 11 WEB_SITE="http://www.gnu.org/software/m4/" |
pankso@19 | 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@19 | 13 |
pankso@19 | 14 # Rules to configure and make the package. |
pankso@19 | 15 compile_rules() |
pankso@19 | 16 { |
pankso@19 | 17 cd $src |
pankso@19 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pankso@19 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS |
pankso@19 | 20 make |
pankso@19 | 21 make DESTDIR=$PWD/_pkg install |
pankso@19 | 22 } |
pankso@19 | 23 |
pankso@19 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@19 | 25 genpkg_rules() |
pankso@19 | 26 { |
pankso@19 | 27 mkdir -p $fs/usr |
pankso@19 | 28 cp -a $_pkg/usr/bin $fs/usr |
pankso@19 | 29 strip -s $fs/usr/bin/* |
pankso@19 | 30 } |
pankso@19 | 31 |