wok-current view libnl/receipt @ rev 22407
Add knot-dns (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 10 16:56:23 2019 +0100 (2019-12-10) |
parents | 8dd8bab3f0ca |
children | 98cf458f5c62 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libnl"
4 VERSION="3.4.0"
5 CATEGORY="network"
6 SHORT_DESC="netlink library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
10 WEB_SITE="http://www.infradead.org/~tgr/libnl/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/files/$TARBALL"
15 HOST_ARCH="i486 arm"
17 # Cross compile needs host flex
18 BUILD_DEPENDS="flex"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure \
24 --sysconfdir=/etc \
25 $CONFIGURE_ARGS &&
26 make -j 1 &&
27 make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
35 cp -a $install/etc $fs
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $install/usr/lib/libnl $fs/usr/lib
39 find $fs/usr/lib -type f -name "*.*a" -exec rm -f {} \;
40 }