aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gradm/APKBUILD
blob: 9426fbaafda3694d0d8b21f4f1744f34496a74a4 (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
35
36
37
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=gradm
pkgver=2.2.0
pkgrel=1
pkgdesc="administrative utility for grsecurity kernels"
url="http://www.grsecurity.org/"
arch="all"
license="GPL"
makedepends=
makedepends="bison flex"
install=""
subpackages="$pkgname-doc"
source="http://grsecurity.net/stable/gradm-2.2.0-201011061849.tar.gz"

_builddir="$srcdir/gradm2"
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="081765637a407dd7e4cd07f95413d6b8  gradm-2.2.0-201011061849.tar.gz"