wok-next view netcf/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
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 }