wok annotate libnl/receipt @ rev 4236
tazbb: get KERNEL variable from linux receipt
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 24 16:26:08 2009 +0200 (2009-09-24) |
parents | |
children | 8eed0ac6ee3e |
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 |
pascal@1110 | 16 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1110 | 17 --mandir=/usr/share/man $CONFIGURE_ARGS |
pascal@1110 | 18 make |
pascal@1110 | 19 make DESTDIR=$PWD/_pkg install |
pascal@1110 | 20 } |
pascal@1110 | 21 |
pascal@1110 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1110 | 23 genpkg_rules() |
pascal@1110 | 24 { |
pascal@1110 | 25 mkdir -p $fs/usr |
pascal@1110 | 26 cp -a $_pkg/usr/lib $fs/usr |
pascal@1110 | 27 } |
pascal@1110 | 28 |