summaryrefslogtreecommitdiff
path: root/community/netcf
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/netcf
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/netcf')
-rw-r--r--community/netcf/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/community/netcf/PKGBUILD b/community/netcf/PKGBUILD
new file mode 100644
index 000000000..5a4727a7e
--- /dev/null
+++ b/community/netcf/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 90691 2013-05-13 14:30:21Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Aurélien Wailly <aurelien.wailly@gmail.com>
+
+pkgname=netcf
+pkgver=0.2.3
+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' 'netctl' 'libxslt' 'libxml2' 'libnl')
+makedepends=('gcc')
+options=(!libtool)
+source=("https://fedorahosted.org/released/netcf/$pkgname-$pkgver.tar.gz")
+md5sums=('bee292470b06201b59af0fad473a1b65')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ aclocal
+ automake --add-missing || true
+ autoreconf
+ ./configure --prefix=/usr \
+ --disable-static \
+ --with-init-script=none \
+ --with-driver=redhat
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR=${pkgdir} install
+ rm -rf $pkgdir/etc/rc.d
+}