wok-next view netcf/receipt @ rev 20780

GnuPG update: 2.1.21 (2017 May) -> 2.2.8 (CVE-2018-12020) -> GnuPG 2.2.x is the current stable branch of GnuPG
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 05:44:49 2018 +0000 (2018-06-09)
parents
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="netcf"
4 VERSION="0.2.8"
5 CATEGORY="network"
6 SHORT_DESC="A library for configuring network interfaces"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://pagure.io/netcf"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://releases.pagure.org/netcf/$TARBALL"
14 BUILD_DEPENDS="automake libxml2-dev libxslt-dev readline-dev augeas-dev \
15 libnl-dev"
16 SPLIT="netcf-dev"
18 compile_rules() {
19 aclocal
20 automake --add-missing
21 autoreconf
22 ./configure \
23 --disable-static \
24 --with-driver=redhat \
25 --libexecdir=/usr/lib/netcf \
26 $CONFIGURE_ARGS &&
27 make &&
28 make install
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 netcf)
34 copy @std
35 DEPENDS="augeas libgcrypt libgpg-error libnl libxml2 libxslt \
36 readline"
37 ;;
38 *-dev)
39 copy @dev
40 ;;
41 esac
42 }