wok-next annotate automake/receipt @ rev 12309
Add: linux-arm-api-headers (Part of ARM cross toolchain)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 17 12:33:55 2012 +0200 (2012-04-17) |
parents | 9f14db5de762 |
children | 4219237b4608 |
rev | line source |
---|---|
pankso@15 | 1 # SliTaz package receipt. |
pankso@15 | 2 |
pankso@15 | 3 PACKAGE="automake" |
slaxemulator@6176 | 4 VERSION="1.11.1" |
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 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@15 | 9 WEB_SITE="http://www.gnu.org/software/automake/" |
pankso@15 | 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@15 | 11 |
slaxemulator@10415 | 12 DEPENDS="autoconf" |
slaxemulator@10415 | 13 BUILD_DEPENDS="autoconf" |
slaxemulator@10415 | 14 |
slaxemulator@10415 | 15 # Rules to compile & install the temporary toolchain. |
slaxemulator@10415 | 16 cook_tmp_toolchain() |
slaxemulator@10415 | 17 { |
slaxemulator@10415 | 18 cd $src |
slaxemulator@10415 | 19 ./configure && make && make install |
slaxemulator@10415 | 20 } |
slaxemulator@10415 | 21 |
pankso@15 | 22 # Rules to configure and make the package. |
pankso@15 | 23 compile_rules() |
pankso@15 | 24 { |
pankso@15 | 25 cd $src |
slaxemulator@10280 | 26 ./configure $CONFIGURE_ARGS && |
slaxemulator@10280 | 27 make && make install |
pankso@15 | 28 } |
pankso@15 | 29 |
pankso@15 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15 | 31 genpkg_rules() |
pankso@15 | 32 { |
pankso@15 | 33 mkdir -p $fs/usr/share |
pankso@15 | 34 cp -a $_pkg/usr/bin $fs/usr |
pankso@3187 | 35 cp -a $_pkg/usr/share/aclocal-1.11 $fs/usr/share |
pankso@3187 | 36 cp -a $_pkg/usr/share/automake-1.11 $fs/usr/share |
pankso@15 | 37 } |
pankso@729 | 38 |
pankso@729 | 39 # Clean old files. |
pankso@729 | 40 pre_install() |
pankso@729 | 41 { |
pankso@729 | 42 rm -rf /usr/share/automake-1.9 |
pankso@3187 | 43 rm -rf /usr/share/aclocal-1.9 |
pankso@3187 | 44 rm -rf /usr/share/automake-1.10 |
pankso@3187 | 45 rm -rf /usr/share/aclocal-1.10 |
pankso@729 | 46 } |