wok view wireless-regdb/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents 212e026e2361
children f2de156be422
line source
1 # SliTaz package receipt.
3 PACKAGE="wireless-regdb"
4 VERSION="2020.04.29"
5 CATEGORY="network"
6 SHORT_DESC="Linux wireless regulatory database."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="free"
9 WEB_SITE="https://wireless.wiki.kernel.org/en/developers/regulatory/wireless-regdb"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://www.kernel.org/pub/software/network/$PACKAGE/$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS=""
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/$PACKAGE/!d;s|.*$PACKAGE-||;s|.tar.*||" | tail -n 1
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 : # nothing to be done
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib/crda/pubkeys
35 cp -a $src/*.pem $fs/usr/lib/crda/pubkeys
36 cp -a $src/*.bin $fs/usr/lib/crda
37 }