summaryrefslogtreecommitdiff
path: root/community/netcf/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/netcf/PKGBUILD')
-rw-r--r--community/netcf/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/netcf/PKGBUILD b/community/netcf/PKGBUILD
new file mode 100644
index 000000000..cfc7411aa
--- /dev/null
+++ b/community/netcf/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 60351 2011-12-11 20:20:01Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Aurélien Wailly <aurelien.wailly@gmail.com>
+
+pkgname=netcf
+pkgver=0.1.7
+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' 'libnl')
+makedepends=('gcc')
+options=(!libtool)
+source=("https://fedorahosted.org/released/netcf/$pkgname-$pkgver.tar.gz"
+ netcf-0.1.7.patch)
+md5sums=('8e313b623c907eb035cf3948b71fecc2'
+ '0e88ee6813219e9e75a943444fe439f5')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np1 -i ${srcdir}/netcf-0.1.7.patch
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR=${pkgdir} install
+}