updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / netcf / PKGBUILD
blob48c4a3e319b2e224d8c7809209958a95f8dd73a3
1 # Contributor: AurĂ©lien Wailly <aurelien.wailly@gmail.com>
3 pkgname=netcf
4 pkgver=0.1.7
5 pkgrel=2
6 pkgdesc="A library for configuring network interfaces"
7 arch=('i686' 'x86_64')
8 license=('LGPL')
9 url="https://fedorahosted.org/netcf/"
10 depends=('augeas>=0.7.4' 'netcfg' 'libxslt' 'libxml2' 'libnl')
11 makedepends=('gcc')
12 options=(!libtool)
13 source=("https://fedorahosted.org/released/netcf/$pkgname-$pkgver.tar.gz"
14         netcf-0.1.7.patch)
15 md5sums=('8e313b623c907eb035cf3948b71fecc2'
16          '0e88ee6813219e9e75a943444fe439f5')
18 build() {
19   cd "${srcdir}/${pkgname}-${pkgver}"
20   patch -Np1 -i ${srcdir}/netcf-0.1.7.patch
21   ./configure --prefix=/usr
22   make
25 package() {
26   cd "${srcdir}/${pkgname}-${pkgver}"
27   make DESTDIR=${pkgdir} install