22 lines
675 B
Bash
22 lines
675 B
Bash
# Template file for 'wireless-regdb'
|
|
pkgname=wireless-regdb
|
|
version=2023.09.01
|
|
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=26d4c2a727cc59239b84735aad856b7c7d0b04e30aa5c235c4f7f47f5f053491
|
|
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
|
|
}
|