core/netcf/PKGBUILD
2013-02-24 16:48:49 +00:00

38 lines
826 B
Bash

#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
pkgname=netcf
pkgver=0.2.2
pkgrel=1
pkgdesc="A library for configuring network interfaces"
arch=('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")
md5sums=('fbcd47101797b8fcd9519e22002cd200')
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/init.d
}