wok-next view netcf/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | d807b7e7318c |
children |
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="$PACKAGE-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 }