wok-current annotate iw/receipt @ rev 24574

updated fribidi and fribidi-dev (1.0.8 -> 1.0.11)
author Hans-G?nter Theisgen
date Sun Feb 27 07:58:48 2022 +0100 (2022-02-27)
parents 8b407130ed91
children bca0329853af
rev   line source
pascal@1110 1 # SliTaz package receipt.
pascal@1110 2
pascal@1110 3 PACKAGE="iw"
Hans-G?nter@22965 4 VERSION="5.4"
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@21068 33 make DESTDIR=$DESTDIR install
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 {
slaxemulator@6315 39 mkdir -p $fs/usr
Hans-G?nter@22965 40 cp -a $install/usr/sbin $fs/usr
pascal@1110 41 }