wok annotate autoconf/receipt @ rev 2538
sudoku-savant: fix compile_rules
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 22 12:18:54 2009 +0100 (2009-03-22) |
parents | b61b574cf78e |
children | a680544119f3 |
rev | line source |
---|---|
pankso@15 | 1 # SliTaz package receipt. |
pankso@15 | 2 |
pankso@15 | 3 PACKAGE="autoconf" |
pankso@545 | 4 VERSION="2.62" |
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@108 | 8 BUILD_DEPENDS="m4" |
pankso@15 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@15 | 10 WEB_SITE="http://www.gnu.org/software/autoconf/" |
pankso@15 | 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@15 | 12 |
pankso@15 | 13 # Rules to configure and make the package. |
pankso@15 | 14 compile_rules() |
pankso@15 | 15 { |
pankso@15 | 16 cd $src |
pankso@545 | 17 ./configure \ |
pankso@545 | 18 --prefix=/usr \ |
pankso@545 | 19 --infodir=/usr/share/info \ |
pankso@545 | 20 --mandir=/usr/share/man \ |
pankso@545 | 21 $CONFIGURE_ARGS |
pankso@15 | 22 make |
pankso@15 | 23 make DESTDIR=$PWD/_pkg install |
pankso@15 | 24 } |
pankso@15 | 25 |
pankso@15 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15 | 27 genpkg_rules() |
pankso@15 | 28 { |
pankso@15 | 29 mkdir -p $fs/usr/share |
pankso@15 | 30 cp -a $_pkg/usr/bin $fs/usr |
pankso@15 | 31 cp -a $_pkg/usr/share/autoconf $fs/usr/share |
pankso@15 | 32 } |