wok-current annotate libnl/receipt @ rev 23350
updated perl-io-socket-inet6 (2.56 -> 2.72)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 31 09:47:36 2020 +0100 (2020-03-31) |
parents | eb9e86ea9c0c |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@1110 | 1 # SliTaz package receipt. |
pascal@1110 | 2 |
pascal@1110 | 3 PACKAGE="libnl" |
Hans-G?nter@23090 | 4 VERSION="3.5.0" |
pascal@1110 | 5 CATEGORY="network" |
pascal@1110 | 6 SHORT_DESC="netlink library." |
pascal@1110 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14714 | 8 LICENSE="LGPL2.1" |
Hans-G?nter@21266 | 9 |
Hans-G?nter@23090 | 10 WEB_SITE="https://www.infradead.org/~tgr/libnl/" |
Hans-G?nter@21266 | 11 |
pascal@1110 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1110 | 13 WGET_URL="$WEB_SITE/files/$TARBALL" |
Hans-G?nter@23090 | 14 WGET_URL="https://github.com/thom311/$PACKAGE/releases/download/${PACKAGE}${VERSION//./_}/$TARBALL" |
Hans-G?nter@21266 | 15 |
pankso@16027 | 16 HOST_ARCH="i486 arm" |
pascal@1110 | 17 |
pankso@16027 | 18 # Cross compile needs host flex |
pascal@13463 | 19 BUILD_DEPENDS="flex" |
pascal@13463 | 20 |
pascal@1110 | 21 # Rules to configure and make the package. |
pascal@1110 | 22 compile_rules() |
pascal@1110 | 23 { |
Hans-G?nter@21266 | 24 ./configure \ |
Hans-G?nter@21266 | 25 --sysconfdir=/etc \ |
pankso@16395 | 26 $CONFIGURE_ARGS && |
Hans-G?nter@21266 | 27 make -j 1 && |
Hans-G?nter@21266 | 28 make install |
pascal@1110 | 29 } |
pascal@1110 | 30 |
pascal@1110 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1110 | 32 genpkg_rules() |
pascal@1110 | 33 { |
pankso@15894 | 34 mkdir -p $fs/usr/lib |
Hans-G?nter@21266 | 35 |
Hans-G?nter@21266 | 36 cp -a $install/etc $fs |
Hans-G?nter@21266 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@21266 | 38 cp -a $install/usr/lib/libnl $fs/usr/lib |
Hans-G?nter@21266 | 39 |
pankso@16417 | 40 find $fs/usr/lib -type f -name "*.*a" -exec rm -f {} \; |
pascal@1110 | 41 } |