updated on Thu Jan 5 13:17:10 UTC 2012
[aur-mirror.git] / dazuko / PKGBUILD
blobd16894c6a651612c7c01b143fc8f04297747c1dc
1 # Contributor: Darwin Bautista <djclue917@gmail.com>
3 pkgname=dazuko
4 pkgver=2.3.4
5 pkgrel=2
6 pkgdesc="Device driver allowing userland applications to execute file access control"
7 arch=('i686' 'x86_64')
8 url="http://www.dazuko.org/"
9 license=('GPL')
10 depends=('kernel26')
11 install=dazuko.install
12 source=(http://www.dazuko.org/files/dazuko-${pkgver}.tar.gz)
13 md5sums=('14ae194714584944b983845793daf2a4')
15 build() {
16   cd ${startdir}/src/dazuko-${pkgver}/
18   # Adds support for the "init module" event, important for use with F-Secure software
19   patch -Np0 -i patch_fsecure_init_event.diff || return 1
21   # Needs kernel patch (patch_dpath.diff) to be safe on SMP kernels
22   ./configure --disable-debug --disable-chroot-support --enable-event-init-module \
23     --without-dep --without-library --without-example-c --enable-syscalls \
24     --mapfile=/boot/System.map26
25   make || return 1
27   # Install kernel module
28   install -D -m644 dazuko.ko ${startdir}/pkg/lib/modules/$(uname -r)/extra/dazuko.ko
31 # vim:set ts=2 sw=2 et: