diff options
author | root <root@rshg054.dnsready.net> | 2011-11-04 23:14:51 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-11-04 23:14:51 +0000 |
commit | 3026bb55941e3b04b56f5fb41b88941c6c2ce0cd (patch) | |
tree | 576b183074d925e58c2e37ae2b641e712bceacb1 /testing/pkg-config | |
parent | b625511a28fd8401f524474b5339e75328595150 (diff) |
Fri Nov 4 23:14:51 UTC 2011
Diffstat (limited to 'testing/pkg-config')
-rw-r--r-- | testing/pkg-config/PKGBUILD | 37 | ||||
-rw-r--r-- | testing/pkg-config/autoconf-2.66.patch | 12 |
2 files changed, 49 insertions, 0 deletions
diff --git a/testing/pkg-config/PKGBUILD b/testing/pkg-config/PKGBUILD new file mode 100644 index 000000000..a8dd714da --- /dev/null +++ b/testing/pkg-config/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 141947 2011-11-03 12:12:51Z allan $ +# Maintainer: Allan McRae <allan@archlinux.org> +# Committer: Judd Vinet <jvinet@zeroflux.org> + +pkgname=pkg-config +pkgver=0.26 +pkgrel=2 +pkgdesc="A system for managing library compile/link flags" +arch=('i686' 'x86_64') +url="http://pkgconfig.freedesktop.org/wiki/" +license=('GPL') +groups=('base-devel') +depends=('glibc' 'popt' 'glib2') +provides=("pkgconfig=${pkgver}") +conflicts=('pkgconfig') +replaces=('pkgconfig') +source=(http://pkgconfig.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz) +md5sums=('47525c26a9ba7ba14bf85e01509a7234') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + # Use system popt + ./configure --prefix=/usr --with-installed-popt + + make +} + +check() { + cd ${srcdir}/${pkgname}-${pkgver} + make check +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install +} diff --git a/testing/pkg-config/autoconf-2.66.patch b/testing/pkg-config/autoconf-2.66.patch new file mode 100644 index 000000000..14cabdf9f --- /dev/null +++ b/testing/pkg-config/autoconf-2.66.patch @@ -0,0 +1,12 @@ +diff -Naur pkg-config-0.25-old//pkg.m4 pkg-config-0.25/pkg.m4 +--- pkg-config-0.25-old//pkg.m4 2009-12-07 06:39:02.000000000 +1000 ++++ pkg-config-0.25/pkg.m4 2010-07-15 14:44:37.466942978 +1000 +@@ -135,7 +135,7 @@ + Consider adjusting the PKG_CONFIG_PATH environment variable if you + installed software in a non-standard prefix. + +-_PKG_TEXT])dnl ++_PKG_TEXT])[]dnl + ]) + elif test $pkg_failed = untried; then + AC_MSG_RESULT([no]) |