wok-next annotate autoconf/receipt @ rev 6127
lirc: fix kernel version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 06 11:49:10 2010 +0200 (2010-09-06) |
parents | a680544119f3 |
children | 168eed80580c |
rev | line source |
---|---|
pankso@15 | 1 # SliTaz package receipt. |
pankso@15 | 2 |
pankso@15 | 3 PACKAGE="autoconf" |
pankso@5257 | 4 VERSION="2.65" |
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 } |