wok-current annotate libnl/receipt @ rev 12246
Up: slitaz-tools (4.9)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 09 18:33:18 2012 +0200 (2012-04-09) |
parents | 0b4cf0d9e1b5 |
children | 5f4c4d819318 |
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 { |
pascal@1110 | 15 cd $src |
pankso@9938 | 16 busybox patch -p0 -i $stuff/libnl-1.1-ULONG_MAX.patch || return 1 |
pankso@9938 | 17 ./configure && make && make install |
pascal@1110 | 18 } |
pascal@1110 | 19 |
pascal@1110 | 20 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1110 | 21 genpkg_rules() |
pascal@1110 | 22 { |
pascal@1110 | 23 mkdir -p $fs/usr |
pascal@1110 | 24 cp -a $_pkg/usr/lib $fs/usr |
pascal@1110 | 25 } |