wok-next annotate libnl/receipt @ rev 20678
Up clisp (2.50)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 15 02:59:03 2018 +0300 (2018-05-15) |
parents | 5841522533ec |
children | f48456621a9d |
rev | line source |
---|---|
al@19780 | 1 # SliTaz package receipt v2. |
pascal@1110 | 2 |
pascal@1110 | 3 PACKAGE="libnl" |
al@20621 | 4 VERSION="3.4.0" |
pascal@1110 | 5 CATEGORY="network" |
al@19780 | 6 SHORT_DESC="Netlink protocol library suite" |
pascal@1110 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14714 | 8 LICENSE="LGPL2.1" |
al@19780 | 9 WEB_SITE="http://www.infradead.org/~tgr/libnl/" |
al@20621 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/basicnet/libnl.html" |
pascal@1110 | 11 |
al@19780 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19780 | 13 WGET_URL="https://github.com/thom311/libnl/releases/download/libnl${VERSION//./_}/$TARBALL" |
al@19780 | 14 |
pascal@13463 | 15 BUILD_DEPENDS="flex" |
al@19780 | 16 SPLIT="libnl-tools libnl-dev" |
pascal@13463 | 17 |
al@20443 | 18 compile_rules() { |
pankso@16395 | 19 ./configure \ |
al@19780 | 20 --disable-static \ |
al@19780 | 21 $CONFIGURE_ARGS && |
al@20595 | 22 fix libtool && |
al@20534 | 23 make && |
al@20534 | 24 make install |
pascal@1110 | 25 } |
pascal@1110 | 26 |
al@20443 | 27 genpkg_rules() { |
al@19780 | 28 case $PACKAGE in |
al@19780 | 29 libnl) |
al@19780 | 30 copy etc/ *.so* |
al@19780 | 31 CONFIG_FILES="/etc/libnl/classid /etc/libnl/pktloc" |
al@19780 | 32 ;; |
al@19780 | 33 libnl-tools) |
al@20443 | 34 copy @std @rm |
al@19780 | 35 CAT="network|tiny tools" |
al@19780 | 36 ;; |
al@19780 | 37 *-dev) copy @dev;; |
al@19780 | 38 esac |
pascal@1110 | 39 } |