void-packages/srcpkgs/wireless-regdb/template

22 lines
675 B
Bash

# Template file for 'wireless-regdb'
pkgname=wireless-regdb
version=2024.07.04
revision=1
short_desc="Regulatory database used by Linux"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="ISC"
homepage="https://wireless.wiki.kernel.org/en/developers/regulatory/wireless-regdb"
distfiles="https://www.kernel.org/pub/software/network/wireless-regdb/wireless-regdb-${version}.tar.xz"
checksum=9832a14e1be24abff7be30dee3c9a1afb5fdfcf475a0d91aafef039f8d85f5eb
replaces="crda>=0"
post_patch() {
vsed -i 's/[.]gz//' regulatory.db.5
}
do_install() {
make install DESTDIR="${DESTDIR}" \
MANDIR=usr/share/man FIRMWARE_PATH=usr/lib/firmware
vlicense LICENSE
}