wok-current annotate iw/receipt @ rev 24880

updated manaplus (1.9.3.23 -> 2.1.3.17)
author Hans-G?nter Theisgen
date Thu Mar 31 14:47:26 2022 +0100 (2022-03-31)
parents 71360a13cd94
children
rev   line source
pascal@1110 1 # SliTaz package receipt.
pascal@1110 2
pascal@1110 3 PACKAGE="iw"
Hans-G?nter@24682 4 VERSION="5.16"
pascal@1110 5 CATEGORY="network"
Hans-G?nter@21068 6 TAGS="wireless"
pascal@1110 7 SHORT_DESC="Wireless configuration tool."
pascal@1110 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15600 9 LICENSE="MIT"
Hans-G?nter@21068 10 WEB_SITE="https://wireless.wiki.kernel.org/en/users/documentation/iw"
Hans-G?nter@21068 11
pankso@16396 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
pankso@16396 13 WGET_URL="https://www.kernel.org/pub/software/network/iw/$TARBALL"
erjo@9996 14
pascal@1110 15 DEPENDS="libnl"
Hans-G?nter@21068 16 BUILD_DEPENDS="libnl-dev pkg-config"
Hans-G?nter@22965 17
Hans-G?nter@21068 18 HOST_ARCH="i486 arm"
pascal@1110 19
pascal@24336 20 # What is the latest version available today?
pascal@24336 21 current_version()
pascal@24336 22 {
pascal@24336 23 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24336 24 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24336 25 }
pascal@24336 26
pascal@1110 27 # Rules to configure and make the package.
pascal@1110 28 compile_rules()
pascal@1110 29 {
Hans-G?nter@22965 30 export LDFLAGS="$LDFLAGS -lrt"
Hans-G?nter@22965 31
Hans-G?nter@22965 32 make &&
Hans-G?nter@24682 33 make install DESTDIR=$DESTDIR
pascal@1110 34 }
pascal@1110 35
pascal@1110 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1110 37 genpkg_rules()
slaxemulator@6315 38 {
Hans-G?nter@24682 39 cook_copy_folders sbin
pascal@1110 40 }