wok-next annotate libnl/receipt @ rev 20595
More fix libtool.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Apr 16 11:36:31 2018 +0300 (2018-04-16) |
parents | 757d032c55c7 |
children | 3bec5f368ce1 |
rev | line source |
---|---|
al@19780 | 1 # SliTaz package receipt v2. |
pascal@1110 | 2 |
pascal@1110 | 3 PACKAGE="libnl" |
al@19780 | 4 VERSION="3.2.29" |
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/" |
pascal@1110 | 10 |
al@19780 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19780 | 12 WGET_URL="https://github.com/thom311/libnl/releases/download/libnl${VERSION//./_}/$TARBALL" |
al@19780 | 13 |
pascal@13463 | 14 BUILD_DEPENDS="flex" |
al@19780 | 15 SPLIT="libnl-tools libnl-dev" |
pascal@13463 | 16 |
al@20443 | 17 compile_rules() { |
pankso@16395 | 18 ./configure \ |
al@19780 | 19 --disable-static \ |
al@19780 | 20 $CONFIGURE_ARGS && |
al@20595 | 21 fix libtool && |
al@20534 | 22 make && |
al@20534 | 23 make install |
pascal@1110 | 24 } |
pascal@1110 | 25 |
al@20443 | 26 genpkg_rules() { |
al@19780 | 27 case $PACKAGE in |
al@19780 | 28 libnl) |
al@19780 | 29 copy etc/ *.so* |
al@19780 | 30 CONFIG_FILES="/etc/libnl/classid /etc/libnl/pktloc" |
al@19780 | 31 ;; |
al@19780 | 32 libnl-tools) |
al@20443 | 33 copy @std @rm |
al@19780 | 34 CAT="network|tiny tools" |
al@19780 | 35 ;; |
al@19780 | 36 *-dev) copy @dev;; |
al@19780 | 37 esac |
pascal@1110 | 38 } |