makedepends=(augeas libxml2 libnl libxslt)

description="A library for configuring network interfaces"
url="https://pagure.io/netcf"

packager="Great-OS Team"
maintainer="Great-OS Team"

name=netcf
version=0.2.8
release=3

source=(https://releases.pagure.org/netcf/$name-$version.tar.gz)

build() {
  cd $name-$version

  aclocal
  automake --add-missing || true
  autoreconf

  ./configure --prefix=/usr \
	--disable-static \
	--with-driver=redhat \
	--libexecdir=/usr/lib/$name

  make
  make DESTDIR=$PKG install

  rm -rf $PKG/etc/rc.d
}
