wok-next view libnl/receipt @ rev 19401

memtest: DOS shutdown (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 03 13:03:50 2016 +0200 (2016-09-03)
parents 093afdf01585
children 5ff41aaf68d9
line source
1 # SliTaz package receipt.
3 PACKAGE="libnl"
4 VERSION="3.2.24"
5 CATEGORY="network"
6 SHORT_DESC="netlink library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://people.suug.ch/~tgr/libnl"
11 WGET_URL="$WEB_SITE/files/$TARBALL"
12 HOST_ARCH="i486 arm"
14 # Cross compile needs host flex
15 BUILD_DEPENDS="flex"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --sysconfdir=/etc \
22 $CONFIGURE_ARGS &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $install/etc $fs
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 cp -a $install/usr/lib/libnl $fs/usr/lib
33 find $fs/usr/lib -type f -name "*.*a" -exec rm -f {} \;
34 }