summaryrefslogtreecommitdiff
path: root/community/netcf/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/netcf/PKGBUILD')
-rw-r--r--community/netcf/PKGBUILD20
1 files changed, 9 insertions, 11 deletions
diff --git a/community/netcf/PKGBUILD b/community/netcf/PKGBUILD
index 7ae560ff5..eea127bfd 100644
--- a/community/netcf/PKGBUILD
+++ b/community/netcf/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 70813 2012-05-16 21:38:44Z spupykin $
+# $Id: PKGBUILD 77847 2012-10-15 09:41:41Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Aurélien Wailly <aurelien.wailly@gmail.com>
pkgname=netcf
-pkgver=0.1.9
-pkgrel=2
+pkgver=0.2.2
+pkgrel=1
pkgdesc="A library for configuring network interfaces"
arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
@@ -12,25 +12,23 @@ url="https://fedorahosted.org/netcf/"
depends=('augeas>=0.7.4' 'netcfg' 'libxslt' 'libxml2' 'libnl')
makedepends=('gcc')
options=(!libtool)
-source=("https://fedorahosted.org/released/netcf/$pkgname-$pkgver.tar.gz"
- "netcf-libnl3.patch::https://bugs.archlinux.org/task/29908?getfile=8775")
-md5sums=('4d62010a79d56c12438969da9035b63c'
- 'a509be4b819f669fac21e1eaa621e3e0')
+source=("https://fedorahosted.org/released/netcf/$pkgname-$pkgver.tar.gz")
+md5sums=('fbcd47101797b8fcd9519e22002cd200')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- 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 \
+ ./configure --prefix=/usr \
--disable-static \
- --with-init-script=none
+ --with-init-script=none \
+ --with-driver=redhat
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR=${pkgdir} install
+ rm -rf $pkgdir/etc/rc.d/init.d
}