wok-next annotate 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
rev   line source
al@20685 1 # SliTaz package receipt v2.
al@20685 2
al@20685 3 PACKAGE="netcf"
al@20685 4 VERSION="0.2.8"
al@20685 5 CATEGORY="network"
al@20685 6 SHORT_DESC="A library for configuring network interfaces"
al@20685 7 MAINTAINER="al.bobylev@gmail.com"
al@20685 8 LICENSE="LGPL2.1"
al@20685 9 WEB_SITE="https://pagure.io/netcf"
al@20685 10
al@20685 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20685 12 WGET_URL="https://releases.pagure.org/netcf/$TARBALL"
al@20685 13
al@20685 14 BUILD_DEPENDS="automake libxml2-dev libxslt-dev readline-dev augeas-dev \
al@20685 15 libnl-dev"
al@21020 16 SPLIT="$PACKAGE-dev"
al@20685 17
al@20685 18 compile_rules() {
al@20685 19 aclocal
al@20685 20 automake --add-missing
al@20685 21 autoreconf
al@20685 22 ./configure \
al@20685 23 --disable-static \
al@20685 24 --with-driver=redhat \
al@20685 25 --libexecdir=/usr/lib/netcf \
al@20685 26 $CONFIGURE_ARGS &&
al@20685 27 make &&
al@20685 28 make install
al@20685 29 }
al@20685 30
al@20685 31 genpkg_rules() {
al@20685 32 case $PACKAGE in
al@20685 33 netcf)
al@20685 34 copy @std
al@20685 35 DEPENDS="augeas libgcrypt libgpg-error libnl libxml2 libxslt \
al@20685 36 readline"
al@20685 37 ;;
al@20685 38 *-dev)
al@20685 39 copy @dev
al@20685 40 ;;
al@20685 41 esac
al@20685 42 }