wok-next view libnl/receipt @ rev 21059

Small updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Dec 04 13:43:21 2018 +0200 (2018-12-04)
parents f48456621a9d
children 23982d05637c
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libnl"
4 VERSION="3.4.0"
5 CATEGORY="network"
6 SHORT_DESC="Netlink protocol library suite"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.infradead.org/~tgr/libnl/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/basicnet/libnl.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/thom311/libnl/releases/download/libnl${VERSION//./_}/$TARBALL"
15 BUILD_DEPENDS="flex"
16 SPLIT="$PACKAGE-tools $PACKAGE-dev"
18 compile_rules() {
19 ./configure \
20 --disable-static \
21 $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 libnl)
30 copy etc/ *.so*
31 CONFIG_FILES="/etc/libnl/classid /etc/libnl/pktloc"
32 ;;
33 libnl-tools)
34 copy @std @rm
35 CAT="network|tiny tools"
36 ;;
37 *-dev) copy @dev;;
38 esac
39 }