wok-current annotate autoconf/receipt @ rev 10277
autoconf: Add $CONFIGURE_ARGS.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 21 16:27:45 2011 +0000 (2011-05-21) |
parents | 1fc92ec54449 |
children | 8ad990dde0f8 |
rev | line source |
---|---|
pankso@15 | 1 # SliTaz package receipt. |
pankso@15 | 2 |
pankso@15 | 3 PACKAGE="autoconf" |
slaxemulator@6441 | 4 VERSION="2.68" |
pankso@200 | 5 CATEGORY="development" |
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 |
slaxemulator@10277 | 12 DEPENDS="m4 perl" |
slaxemulator@10277 | 13 BUILD_DEPENDS="m4 perl" |
slaxemulator@10277 | 14 |
pankso@15 | 15 # Rules to configure and make the package. |
pankso@15 | 16 compile_rules() |
pankso@15 | 17 { |
pankso@15 | 18 cd $src |
slaxemulator@10277 | 19 ./configure $CONFIGURE_ARGS && |
slaxemulator@10277 | 20 make && make install |
pankso@15 | 21 } |
pankso@15 | 22 |
pankso@15 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15 | 24 genpkg_rules() |
pankso@15 | 25 { |
pankso@15 | 26 mkdir -p $fs/usr/share |
pankso@15 | 27 cp -a $_pkg/usr/bin $fs/usr |
pankso@15 | 28 cp -a $_pkg/usr/share/autoconf $fs/usr/share |
pankso@15 | 29 } |