wok view libnl/receipt @ rev 23967

updated dpkg (1.16.12 -> 1.17.27) again
author Hans-G?nter Theisgen
date Sun Oct 04 07:14:42 2020 +0100 (2020-10-04)
parents eb9e86ea9c0c
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="libnl"
4 VERSION="3.5.0"
5 CATEGORY="network"
6 SHORT_DESC="netlink library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
10 WEB_SITE="https://www.infradead.org/~tgr/libnl/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/files/$TARBALL"
14 WGET_URL="https://github.com/thom311/$PACKAGE/releases/download/${PACKAGE}${VERSION//./_}/$TARBALL"
16 HOST_ARCH="i486 arm"
18 # Cross compile needs host flex
19 BUILD_DEPENDS="flex"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./configure \
25 --sysconfdir=/etc \
26 $CONFIGURE_ARGS &&
27 make -j 1 &&
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
36 cp -a $install/etc $fs
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 cp -a $install/usr/lib/libnl $fs/usr/lib
40 find $fs/usr/lib -type f -name "*.*a" -exec rm -f {} \;
41 }