wok-6.x view libnl/receipt @ rev 23677
updated subversion and subversion-dev (1.12.2 -> 1.13.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 26 10:52:21 2020 +0100 (2020-04-26) |
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 }