wok-current annotate libnl/receipt @ rev 6304
merge
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Sep 16 18:49:32 2010 +0000 (2010-09-16) |
parents | 7d6929ba1a74 |
children | 1324125747ab |
rev | line source |
---|---|
pascal@1110 | 1 # SliTaz package receipt. |
pascal@1110 | 2 |
pascal@1110 | 3 PACKAGE="libnl" |
pascal@1110 | 4 VERSION="1.1" |
pascal@1110 | 5 CATEGORY="network" |
pascal@1110 | 6 SHORT_DESC="netlink library." |
pascal@1110 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1110 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1110 | 9 WEB_SITE="http://people.suug.ch/~tgr/libnl" |
pascal@1110 | 10 WGET_URL="$WEB_SITE/files/$TARBALL" |
pascal@1110 | 11 |
pascal@1110 | 12 # Rules to configure and make the package. |
pascal@1110 | 13 compile_rules() |
pascal@1110 | 14 { |
erjo@4279 | 15 busybox patch -p0 -i stuff/libnl-1.1-ULONG_MAX.patch [[ exit 1 |
erjo@4279 | 16 |
pascal@1110 | 17 cd $src |
pascal@1110 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1110 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS |
pascal@1110 | 20 make |
pascal@1110 | 21 make DESTDIR=$PWD/_pkg install |
pascal@1110 | 22 } |
pascal@1110 | 23 |
pascal@1110 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1110 | 25 genpkg_rules() |
pascal@1110 | 26 { |
pascal@1110 | 27 mkdir -p $fs/usr |
pascal@1110 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@1110 | 29 } |
pascal@1110 | 30 |