mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 12:47:16 +08:00
38 lines
826 B
Bash
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
|
|
}
|
|
|