[arch-commits] Commit in automake/repos (4 files)
Allan McRae
allan at archlinux.org
Wed Aug 15 07:12:15 UTC 2012
Date: Wednesday, August 15, 2012 @ 03:12:15
Author: allan
Revision: 165303
archrelease: copy trunk to testing-any
Added:
automake/repos/testing-any/
automake/repos/testing-any/PKGBUILD
(from rev 165302, automake/trunk/PKGBUILD)
automake/repos/testing-any/automake-1.12.2-aclocal7-test-fix.diff
(from rev 165302, automake/trunk/automake-1.12.2-aclocal7-test-fix.diff)
automake/repos/testing-any/automake.install
(from rev 165302, automake/trunk/automake.install)
----------------------------------------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++
automake-1.12.2-aclocal7-test-fix.diff | 18 +++++++++++++++
automake.install | 22 ++++++++++++++++++
3 files changed, 77 insertions(+)
Copied: automake/repos/testing-any/PKGBUILD (from rev 165302, automake/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2012-08-15 07:12:15 UTC (rev 165303)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=automake
+pkgver=1.12.3
+pkgrel=1
+pkgdesc="A GNU tool for automatically creating Makefiles"
+arch=('any')
+license=('GPL')
+url="http://www.gnu.org/software/automake"
+groups=('base-devel')
+depends=('perl' 'bash')
+makedepends=('autoconf')
+install=automake.install
+source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.sig}
+ automake-1.12.2-aclocal7-test-fix.diff)
+md5sums=('0df082825f8f41087eb70c5088f4515e'
+ '1e272ddf91d347e1316afd970568ee81'
+ '12280109fc55cfb6197feecfbe7ab513')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ #patch -p2 -i $srcdir/automake-1.12.2-aclocal7-test-fix.diff
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make check
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+}
Copied: automake/repos/testing-any/automake-1.12.2-aclocal7-test-fix.diff (from rev 165302, automake/trunk/automake-1.12.2-aclocal7-test-fix.diff)
===================================================================
--- testing-any/automake-1.12.2-aclocal7-test-fix.diff (rev 0)
+++ testing-any/automake-1.12.2-aclocal7-test-fix.diff 2012-08-15 07:12:15 UTC (rev 165303)
@@ -0,0 +1,18 @@
+Fix a race condition that causes aclocal7 to fail on fast machines (see the
+comment below).
+
+diff -x config.log -x config.status -ru tmp/automake-1.12.2/t/aclocal7.sh work/automake-1.12.2/t/aclocal7.sh
+--- tmp/automake-1.12.2/t/aclocal7.sh 2012-07-08 11:48:25.000000000 +0100
++++ work/automake-1.12.2/t/aclocal7.sh 2012-07-10 11:58:50.325999591 +0100
+@@ -45,6 +45,11 @@
+ $AUTOMAKE --no-force
+ }
+
++# aclocal will rewrite aclocal.m4 unless the input files are all older than the
++# existing aclocal.m4 -- sleep to ensure somedefs.m4 has an older timestamp
++# than the aclocal.m4 that the next aclocal call will generate.
++$sleep
++
+ $ACLOCAL -I m4
+ AUTOMAKE_after_aclocal
+
Copied: automake/repos/testing-any/automake.install (from rev 165302, automake/trunk/automake.install)
===================================================================
--- testing-any/automake.install (rev 0)
+++ testing-any/automake.install 2012-08-15 07:12:15 UTC (rev 165303)
@@ -0,0 +1,22 @@
+infodir=/usr/share/info
+filelist=(automake.info automake.info-1 automake.info-2)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list