diff options
Diffstat (limited to 'community-testing/netcf/PKGBUILD')
-rw-r--r-- | community-testing/netcf/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/community-testing/netcf/PKGBUILD b/community-testing/netcf/PKGBUILD new file mode 100644 index 000000000..1498f4623 --- /dev/null +++ b/community-testing/netcf/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 64587 2012-02-16 20:41:45Z heftig $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Aurélien Wailly <aurelien.wailly@gmail.com> + +pkgname=netcf +pkgver=0.1.7 +pkgrel=3 +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') +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 --disable-static + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR=${pkgdir} install +} |