wok annotate wireless-regdb/receipt @ rev 24987

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