wok view libnl/receipt @ rev 16378

Add: ntk + non-studio
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 15 02:04:52 2014 +0200 (2014-04-15)
parents c7df6249e093
children fa39e0a3612e
line source
1 # SliTaz package receipt.
3 PACKAGE="libnl"
4 VERSION="3.2.13"
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 $CONFIGURE_ARGS &&
21 make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $install/usr/lib/*.so* $fs/usr/lib
29 cp -a $install/usr/lib/libnl $fs/usr/lib
30 find $fs/usr/lib -type f -name "*.a*" -exec rm -f {} \;
31 }