wok-current view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="iw"
4 VERSION="5.4"
5 CATEGORY="network"
6 TAGS="wireless"
7 SHORT_DESC="Wireless configuration tool."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://wireless.wiki.kernel.org/en/users/documentation/iw"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://www.kernel.org/pub/software/network/iw/$TARBALL"
15 DEPENDS="libnl"
16 BUILD_DEPENDS="libnl-dev pkg-config"
18 HOST_ARCH="i486 arm"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WGET_URL%/*} 2>/dev/null | \
24 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 export LDFLAGS="$LDFLAGS -lrt"
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
40 cp -a $install/usr/sbin $fs/usr
41 }