wok-next view libnl/receipt @ rev 20146
Up qemu-light (2.0.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 01 11:50:08 2017 +0100 (2017-11-01) |
parents | 7b53d031ba71 |
children | 0e7893ac206d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libnl"
4 VERSION="3.2.29"
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 HOST_ARCH="i486 arm"
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="libnl-tools libnl-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --sysconfdir=/etc \
23 --disable-static \
24 $CONFIGURE_ARGS &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 case $PACKAGE in
32 libnl)
33 copy etc/ *.so*
34 CONFIG_FILES="/etc/libnl/classid /etc/libnl/pktloc"
35 ;;
36 libnl-tools)
37 copy @std
38 remove_already_packed
39 CAT="network|tiny tools"
40 ;;
41 *-dev) copy @dev;;
42 esac
43 }