diff options
author | root <root@rshg054.dnsready.net> | 2012-05-18 00:02:20 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-05-18 00:02:20 +0000 |
commit | 2f104ecf78d6a93ba8d67273b76364cb1365a6cf (patch) | |
tree | c93787a9c08d8cb41a424644dc09fc529dfd63f1 /community/netcf | |
parent | f675762300c4ee2717e029975bb3f94312245276 (diff) |
Fri May 18 00:02:20 UTC 2012
Diffstat (limited to 'community/netcf')
-rw-r--r-- | community/netcf/PKGBUILD | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/community/netcf/PKGBUILD b/community/netcf/PKGBUILD index 0383ca4da..9c26ba270 100644 --- a/community/netcf/PKGBUILD +++ b/community/netcf/PKGBUILD @@ -1,26 +1,32 @@ -# $Id: PKGBUILD 66320 2012-02-23 14:03:54Z allan $ +# $Id: PKGBUILD 70813 2012-05-16 21:38:44Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Aurélien Wailly <aurelien.wailly@gmail.com> pkgname=netcf -pkgver=0.1.7 -pkgrel=3 +pkgver=0.1.9 +pkgrel=2 pkgdesc="A library for configuring network interfaces" arch=('i686' 'x86_64') license=('LGPL') url="https://fedorahosted.org/netcf/" -depends=('augeas>=0.7.4' 'netcfg' 'libxslt' 'libxml2' 'libnl1') +depends=('augeas>=0.7.4' 'netcfg' 'libxslt' 'libxml2' 'libnl') makedepends=('gcc') options=(!libtool) source=("https://fedorahosted.org/released/netcf/$pkgname-$pkgver.tar.gz" - netcf-0.1.7.patch) -md5sums=('8e313b623c907eb035cf3948b71fecc2' - '0e88ee6813219e9e75a943444fe439f5') + "netcf-libnl3.patch::https://bugs.archlinux.org/task/29908?getfile=8775") +md5sums=('4d62010a79d56c12438969da9035b63c' + 'a509be4b819f669fac21e1eaa621e3e0') build() { cd "${srcdir}/${pkgname}-${pkgver}" - patch -Np1 -i ${srcdir}/netcf-0.1.7.patch - ./configure --prefix=/usr --disable-static + patch -Np1 -i ${srcdir}/netcf-libnl3.patch + aclocal + automake --add-missing || true + autoreconf +# CFLAGS="`pkg-config --cflags libnl-3.0` -DRTNL_LINK_NOT_FOUND=-1" + CFLAGS="-DNETCF_TRANSACTION=\"true\"" ./configure --prefix=/usr \ + --disable-static \ + --with-init-script=none make } |