wok-next annotate autoconf/receipt @ rev 7855
Backed out changeset 5f442d2d2ab4
author | Liu Peng <rocky@slitaz.org> |
---|---|
date | Fri Dec 31 08:51:37 2010 +0000 (2010-12-31) |
parents | 168eed80580c |
children | 1fc92ec54449 |
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" |
slaxemulator@6606 | 8 DEPENDS="m4 perl" |
slaxemulator@6441 | 9 BUILD_DEPENDS="m4 perl" |
pankso@15 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@15 | 11 WEB_SITE="http://www.gnu.org/software/autoconf/" |
pankso@15 | 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@15 | 13 |
pankso@15 | 14 # Rules to configure and make the package. |
pankso@15 | 15 compile_rules() |
pankso@15 | 16 { |
pankso@15 | 17 cd $src |
pankso@545 | 18 ./configure \ |
pankso@545 | 19 --prefix=/usr \ |
pankso@545 | 20 --infodir=/usr/share/info \ |
pankso@545 | 21 --mandir=/usr/share/man \ |
pankso@545 | 22 $CONFIGURE_ARGS |
pankso@15 | 23 make |
pankso@15 | 24 make DESTDIR=$PWD/_pkg install |
pankso@15 | 25 } |
pankso@15 | 26 |
pankso@15 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15 | 28 genpkg_rules() |
pankso@15 | 29 { |
pankso@15 | 30 mkdir -p $fs/usr/share |
pankso@15 | 31 cp -a $_pkg/usr/bin $fs/usr |
pankso@15 | 32 cp -a $_pkg/usr/share/autoconf $fs/usr/share |
pankso@15 | 33 } |