wok view libnl/receipt @ rev 8476
Fixed some receipts that used PACKAGE-VERSION installed of src.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Feb 07 18:38:32 2011 +0000 (2011-02-07) |
parents | 8eed0ac6ee3e |
children | 0b4cf0d9e1b5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libnl"
4 VERSION="1.1"
5 CATEGORY="network"
6 SHORT_DESC="netlink library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://people.suug.ch/~tgr/libnl"
10 WGET_URL="$WEB_SITE/files/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 busybox patch -p0 -i stuff/libnl-1.1-ULONG_MAX.patch || exit 1
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/lib $fs/usr
29 }