wok-next diff automake/receipt @ rev 19640
Up xcb-util
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Feb 13 11:27:42 2017 +0200 (2017-02-13) |
parents | 11b5e93cb5f2 |
children | 9a17d981d0f7 |
line diff
1.1 --- a/automake/receipt Tue Jul 05 15:34:01 2016 +0300 1.2 +++ b/automake/receipt Mon Feb 13 11:27:42 2017 +0200 1.3 @@ -1,37 +1,39 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="automake" 1.7 -VERSION="1.14.1" 1.8 +VERSION="1.15" 1.9 CATEGORY="development" 1.10 SHORT_DESC="A GNU tool for automatically creating Makefiles" 1.11 MAINTAINER="pankso@slitaz.org" 1.12 LICENSE="GPL2" 1.13 -WEB_SITE="http://www.gnu.org/software/automake/" 1.14 +WEB_SITE="https://www.gnu.org/software/automake/" 1.15 + 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 bison flex" 1.21 - 1.22 -# Rules to compile & install the temporary toolchain. 1.23 -cook_tmp_toolchain() 1.24 -{ 1.25 - ./configure && make && make install 1.26 -} 1.27 +BUILD_DEPENDS="autoconf bison flex gfortran" 1.28 1.29 # Rules to configure and make the package. 1.30 compile_rules() 1.31 { 1.32 - ./configure $CONFIGURE_ARGS && 1.33 + sed -i 's:/\\\${:/\\\$\\{:' bin/automake.in 1.34 + 1.35 + ./configure \ 1.36 + --docdir=/usr/share/doc/automake-$VERSION \ 1.37 + $CONFIGURE_ARGS && 1.38 make && 1.39 make install 1.40 + 1.41 + # Save space by symlinking duplicates 1.42 + cd $install/usr/bin 1.43 + rm aclocal; find . -name 'aclocal-*' -exec ln -s \{\} aclocal \; 1.44 + rm automake; find . -name 'automake-*' -exec ln -s \{\} automake \; 1.45 } 1.46 1.47 # Rules to gen a SliTaz package suitable for Tazpkg. 1.48 genpkg_rules() 1.49 { 1.50 cp -a $install/* $fs 1.51 - ln -sf aclocal-${VERSION%.*} $fs/usr/bin/aclocal 1.52 - ln -sf automake-${VERSION%.*} $fs/usr/bin/automake 1.53 rm -rf $fs/usr/share/doc $fs/usr/share/info $fs/usr/share/man 1.54 }