wok view libnl/receipt @ rev 17723
zonecheck: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 05 18:20:41 2015 +0100 (2015-03-05) |
parents | 093afdf01585 |
children | 8dd8bab3f0ca |
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 }