wok-stable annotate automake/receipt @ rev 10353

gcc: Removed gawk in build depends. Added check like the one glibc has to install if cook script is found. Fixed tazwok cookorder i hope.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun May 22 16:40:19 2011 +0000 (2011-05-22)
parents 01d291cc9cac
children 88ec8ecd6b1f
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"
gokhlayeh@7895 8 DEPENDS="autoconf"
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
slaxemulator@10280 18 ./configure $CONFIGURE_ARGS &&
slaxemulator@10280 19 make && make install
pankso@15 20 }
pankso@15 21
pankso@15 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@15 23 genpkg_rules()
pankso@15 24 {
pankso@15 25 mkdir -p $fs/usr/share
pankso@15 26 cp -a $_pkg/usr/bin $fs/usr
pankso@3187 27 cp -a $_pkg/usr/share/aclocal-1.11 $fs/usr/share
pankso@3187 28 cp -a $_pkg/usr/share/automake-1.11 $fs/usr/share
pankso@15 29 }
pankso@729 30
pankso@729 31 # Clean old files.
pankso@729 32 pre_install()
pankso@729 33 {
pankso@729 34 rm -rf /usr/share/automake-1.9
pankso@3187 35 rm -rf /usr/share/aclocal-1.9
pankso@3187 36 rm -rf /usr/share/automake-1.10
pankso@3187 37 rm -rf /usr/share/aclocal-1.10
pankso@729 38 }