wok-stable annotate automake/receipt @ rev 404
Up: tazwok (1.6)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Mar 10 22:16:02 2008 +0100 (2008-03-10) |
parents | 8cf9ccc663f0 |
children | 9d5bdbeffa66 |
rev | line source |
---|---|
pankso@15 | 1 # SliTaz package receipt. |
pankso@15 | 2 |
pankso@15 | 3 PACKAGE="automake" |
pankso@15 | 4 VERSION="1.9.6" |
pankso@200 | 5 CATEGORY="development" |
pankso@15 | 6 SHORT_DESC="Tool for automatically generating 'Makefile.in'." |
pankso@15 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@15 | 8 DEPENDS="perl" |
pankso@108 | 9 BUILD_DEPENDS="autoconf" |
pankso@15 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@15 | 11 WEB_SITE="http://www.gnu.org/software/automake/" |
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@15 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pankso@15 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS |
pankso@15 | 20 make |
pankso@15 | 21 make DESTDIR=$PWD/_pkg install |
pankso@15 | 22 } |
pankso@15 | 23 |
pankso@15 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15 | 25 genpkg_rules() |
pankso@15 | 26 { |
pankso@15 | 27 mkdir -p $fs/usr/share |
pankso@15 | 28 cp -a $_pkg/usr/bin $fs/usr |
pankso@15 | 29 cp -a $_pkg/usr/share/aclocal-1.9 $fs/usr/share |
pankso@15 | 30 cp -a $_pkg/usr/share/automake-1.9 $fs/usr/share |
pankso@15 | 31 strip -s $fs/usr/bin/* 2>/dev/null |
pankso@15 | 32 } |