wok-6.x annotate autoconf/receipt @ rev 15
Add : autoconf, automake, bison, coreutils
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Dec 18 13:21:08 2007 +0100 (2007-12-18) |
parents | |
children | 8cf9ccc663f0 |
rev | line source |
---|---|
pankso@15 | 1 # SliTaz package receipt. |
pankso@15 | 2 |
pankso@15 | 3 PACKAGE="autoconf" |
pankso@15 | 4 VERSION="2.61" |
pankso@15 | 5 CATEGORY="devel" |
pankso@15 | 6 SHORT_DESC="Tool to automatically configure software source code." |
pankso@15 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@15 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@15 | 9 WEB_SITE="http://www.gnu.org/software/autoconf/" |
pankso@15 | 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@15 | 11 |
pankso@15 | 12 # Rules to configure and make the package. |
pankso@15 | 13 compile_rules() |
pankso@15 | 14 { |
pankso@15 | 15 cd $src |
pankso@15 | 16 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pankso@15 | 17 --mandir=/usr/share/man $CONFIGURE_ARGS |
pankso@15 | 18 make |
pankso@15 | 19 make DESTDIR=$PWD/_pkg install |
pankso@15 | 20 } |
pankso@15 | 21 |
pankso@15 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15 | 23 genpkg_rules() |
pankso@15 | 24 { |
pankso@15 | 25 mkdir -p $fs/usr/share |
pankso@15 | 26 cp -a $_pkg/usr/bin $fs/usr |
pankso@15 | 27 cp -a $_pkg/usr/share/autoconf $fs/usr/share |
pankso@15 | 28 strip -s $fs/usr/bin/* 2>/dev/null |
pankso@15 | 29 } |