wok-4.x annotate libnl/receipt @ rev 9573
Up: lilo to 23.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Apr 11 23:54:29 2011 +0000 (2011-04-11) |
parents | 1324125747ab |
children | 48a70b47742a |
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 { |
gokhlayeh@8615 | 15 busybox patch -p0 -i stuff/libnl-1.1-ULONG_MAX.patch || return 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 |