wok-next annotate libnl/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 f48456621a9d
children 23982d05637c
rev   line source
al@19780 1 # SliTaz package receipt v2.
pascal@1110 2
pascal@1110 3 PACKAGE="libnl"
al@20621 4 VERSION="3.4.0"
pascal@1110 5 CATEGORY="network"
al@19780 6 SHORT_DESC="Netlink protocol library suite"
pascal@1110 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14714 8 LICENSE="LGPL2.1"
al@19780 9 WEB_SITE="http://www.infradead.org/~tgr/libnl/"
al@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/basicnet/libnl.html"
pascal@1110 11
al@19780 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@19780 13 WGET_URL="https://github.com/thom311/libnl/releases/download/libnl${VERSION//./_}/$TARBALL"
al@19780 14
pascal@13463 15 BUILD_DEPENDS="flex"
al@21020 16 SPLIT="$PACKAGE-tools $PACKAGE-dev"
pascal@13463 17
al@20443 18 compile_rules() {
pankso@16395 19 ./configure \
al@19780 20 --disable-static \
al@19780 21 $CONFIGURE_ARGS &&
al@20595 22 fix libtool &&
al@20534 23 make &&
al@20534 24 make install
pascal@1110 25 }
pascal@1110 26
al@20443 27 genpkg_rules() {
al@19780 28 case $PACKAGE in
al@19780 29 libnl)
al@19780 30 copy etc/ *.so*
al@19780 31 CONFIG_FILES="/etc/libnl/classid /etc/libnl/pktloc"
al@19780 32 ;;
al@19780 33 libnl-tools)
al@20443 34 copy @std @rm
al@19780 35 CAT="network|tiny tools"
al@19780 36 ;;
al@19780 37 *-dev) copy @dev;;
al@19780 38 esac
pascal@1110 39 }