wok-next diff automake/receipt @ rev 14974

Up: firefox-langpack-zh_TW (17.0.8esr)
author Dominique Corbex <domcox@slitaz.org>
date Thu Aug 08 22:20:12 2013 +0200 (2013-08-08)
parents e552d81cb066
children 8fddb5f5b2e0
line diff
     1.1 --- a/automake/receipt	Thu May 24 21:37:47 2012 +0000
     1.2 +++ b/automake/receipt	Thu Aug 08 22:20:12 2013 +0200
     1.3 @@ -1,16 +1,17 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="automake"
     1.7 -VERSION="1.11.3"
     1.8 +VERSION="1.13.2"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Tool for automatically generating 'Makefile.in'."
    1.11 +SHORT_DESC="A GNU tool for automatically creating Makefiles"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +LICENSE="GPL2"
    1.15  WEB_SITE="http://www.gnu.org/software/automake/"
    1.16 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.17  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.18  
    1.19  DEPENDS="autoconf"
    1.20 -BUILD_DEPENDS="autoconf"
    1.21 +BUILD_DEPENDS="autoconf bison flex"
    1.22  
    1.23  # Rules to compile & install the temporary toolchain.
    1.24  cook_tmp_toolchain()
    1.25 @@ -22,20 +23,16 @@
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 -	cd $src
    1.30  	./configure $CONFIGURE_ARGS &&
    1.31 -	make &&	make install
    1.32 +	make &&
    1.33 +	make install
    1.34  }
    1.35  
    1.36  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.37  genpkg_rules()
    1.38  {
    1.39 -	mkdir -p $fs/usr/share
    1.40 -	cp -a $_pkg/usr/bin $fs/usr
    1.41 -	cp -a $_pkg/usr/share/aclocal-1.11 $fs/usr/share
    1.42 -	cp -a $_pkg/usr/share/automake-1.11 $fs/usr/share
    1.43 -	ln -sf automake-1.11 $fs/usr/bin/automake-1.10
    1.44 -	ln -sf aclocal-1.11 $fs/usr/bin/aclocal-1.10
    1.45 -	ln -sf aclocal-1.11 $fs/usr/share/aclocal-1.10
    1.46 -	ln -sf automake-1.11 $fs/usr/share/automake-1.10
    1.47 +	cp -a $install/* $fs
    1.48 +	ln -sf aclocal-${VERSION%.*} $fs/usr/bin/aclocal
    1.49 +	ln -sf automake-${VERSION%.*} $fs/usr/bin/automake
    1.50 +	rm -rf $fs/usr/share/doc $fs/usr/share/info $fs/usr/share/man
    1.51  }