wok view libnl/receipt @ rev 17818
xmlto: update deps
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Sat Mar 21 13:58:38 2015 -0300 (2015-03-21) |
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 }