aboutsummaryrefslogtreecommitdiffstats
path: root/core/linux-grsec/APKBUILD
blob: 5431e6fa4aac818454b70bda30a6b56e6d347690 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
pkgname=linux-grsec
pkgver=2.6.26.7
_kernver=2.6.26
arch=i486
makedepend="$pkgname-sources"
source="kernelconfig"
subpackages="mod"

build() {
	mkdir -p "$srcdir/$pkgname"
	cd "$srcdir/$pkgname"
	cp ../kernelconfig .config
	make -C /usr/src/linux-$pkgver-grsec "O=$PWD" silentoldconfig
	make || return 1

	mkdir -p $pkgdir/boot $pkgdir/lib/modules
	make modules_install install \
		INSTALL_MOD_PATH=$pkgdir \
		INSTALL_PATH=$pkgdir/boot
}

md5sums="7bff4dd7b5f8ef83e6a3c2e2e5d5fbec  kernelconfig"