29 lines
No EOL
940 B
Text
Executable file
29 lines
No EOL
940 B
Text
Executable file
app=wireless-regdb
|
|
version=2019.06.03
|
|
build=1sml
|
|
homepage="https://wireless.wiki.kernel.org/en/developers/regulatory/wireless-regdb"
|
|
download="http://ftp.iij.ad.jp/pub/linux/kernel/software/network/wireless-regdb/wireless-regdb-$version.tar.xz"
|
|
desc="Regulatory database package for use by CRDA"
|
|
requires="musl"
|
|
|
|
build() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version
|
|
|
|
tar xf $srcdir/$app-$version.tar.?z*
|
|
cd $app-$version
|
|
fixbuilddirpermissions
|
|
|
|
install -Dm 644 regulatory.bin $pkg/lib/crda/regulatory.bin
|
|
install -Dm 644 regulatory.db $pkg/lib/firmware/regulatory.db
|
|
install -Dm 644 regulatory.db.p7s $pkg/lib/firmware/regulatory.db.p7s
|
|
install -Dm 644 regulatory.bin.5 $pkg/share/man/man5/regulatory.bin.5
|
|
|
|
cp LICENSE $pkgdocs/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
38bb0af449b2fc63fecee6edf8c0326858e1b6ef8c34fb3eb87866c002146c29d4b0f4d2170eb6aa723b1942eba098a94e35756eee22087a6d53c0d9a97ef26d wireless-regdb-2019.06.03.tar.lz
|
|
" |