core/netcf/PKGBUILD

33 lines
713 B
Bash
Raw Normal View History

2012-05-26 07:03:37 +08:00
pkgname=netcf
pkgver=0.2.8
pkgrel=1
2012-05-26 07:03:37 +08:00
pkgdesc="A library for configuring network interfaces"
2013-02-25 00:48:49 +08:00
arch=('x86_64')
2012-05-26 07:03:37 +08:00
license=('LGPL')
url="https://fedorahosted.org/netcf/"
depends=('augeas' 'netctl' 'libxslt' 'libxml2' 'libnl')
2012-05-26 07:03:37 +08:00
makedepends=('gcc')
2013-02-25 00:48:49 +08:00
options=(!libtool)
source=("https://fedorahosted.org/released/netcf/$pkgname-$pkgver.tar.gz")
md5sums=('8edfc9a5856468ae4f8ee97415a3dbf3')
2012-05-26 07:03:37 +08:00
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
2013-02-25 00:48:49 +08:00
aclocal
automake --add-missing || true
autoreconf
./configure --prefix=/usr \
--disable-static \
--with-init-script=none \
--with-driver=redhat
2012-05-26 07:03:37 +08:00
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR=${pkgdir} install
2013-02-25 00:48:49 +08:00
rm -rf $pkgdir/etc/rc.d/init.d
2012-05-26 07:03:37 +08:00
}
2013-02-25 00:48:49 +08:00