mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-13 22:04:37 +02:00
this should be the last in the long series of rebuilds; the upgrade of libxml2 to version 2.14 has been reverted because it causes all kinds of build issues, but some main packages were already rebuild against the new version - this rebuilds them back with the old one
44 lines
1 KiB
Text
44 lines
1 KiB
Text
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
|
|
pkgname=netcf
|
|
pkgver=0.2.8
|
|
pkgrel=14
|
|
pkgdesc="Cross-platform network configuration library"
|
|
arch="all"
|
|
url="https://fedorahosted.org/released/netcf"
|
|
license="LGPL-2.1-or-later"
|
|
makedepends="augeas-dev libgcrypt-dev libnl3-dev libxml2-dev~2.13 libxslt-dev
|
|
linux-headers pkgconfig readline-dev"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
|
|
source="https://releases.pagure.org/netcf/netcf-$pkgver.tar.gz"
|
|
replaces="libnetcf"
|
|
options="!check"
|
|
|
|
prepare() {
|
|
update_config_sub
|
|
update_config_guess
|
|
default_prepare
|
|
}
|
|
|
|
build() {
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--with-driver=debian
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
libs() {
|
|
pkgdesc="Libraries for $pkgname"
|
|
|
|
amove usr/lib usr/share
|
|
}
|
|
|
|
sha512sums="d9a667a06469b60e8967423d6a738abc65512bf0ad0975164738c6cd5a168bf0300153067a772a61c4088ea969a88de234be0486c354edf73a7b984ddb003328 netcf-0.2.8.tar.gz"
|