aboutsummaryrefslogtreecommitdiffstats
path: root/testing/crda/APKBUILD
blob: 3ef95cdeda586de92a081b43c42a0f0fe5e9e8ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: Stefan Wagner <stw@bit-strickerei.de>
# Maintainer: Stefan Wagner <stw@bit-strickerei.de>
pkgname=crda
pkgver=4.14
pkgrel=0
pkgdesc="Linux Central Regulatory Domain Agent"
url="https://wireless.wiki.kernel.org/en/developers/Regulatory/CRDA"
arch="all"
license="GPL"
depends="wireless-regdb"
makedepends="linux-headers libnl-dev py2-m2crypto libgcrypt-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/crda.git/snapshot/$pkgname-$pkgver.tar.gz
	01-Makefile-dont-run-ldconfig.patch"

builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	default_prepare
	sed 's/-Werror//' -i $builddir/Makefile
}

build() {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="0d52cf62589ec2debfd66de95b82b03a1c15048d8425cf5ef43c3e1f51ce1311a6d898fd5f69badcceb3181d35c836db197c6f070654dab351b01e96a1dd1053  crda-4.14.tar.gz
c642976b193722c0050c13331a010b466cea8391bb5f945832604a556e274ea1a4b289c78f74ff5d502fae800f18219db3d10ff10c0528eefc5e9443a963640f  01-Makefile-dont-run-ldconfig.patch"