updated on Sat Jan 14 16:01:55 UTC 2012
[aur-mirror.git] / libkqueue / PKGBUILD
blobe7de4ffd5231a39e6264848578dee6418069b357
1 # Maintainer: Sebastien Binet <binet@farnsworth>
2 # Contributor: Nicolas QuiĆ©not < niQo at aur >
4 pkgname=libkqueue
5 pkgver=1.0.4
6 pkgrel=1 
7 pkgdesc="libkqueue is a portable userspace implementation of the kqueue(2) kernel event notification mechanism"
8 url="http://mark.heily.com/libkqueue/"
9 arch=('i686' 'x86_64')
10 license=('BSD')
11 depends=('glibc' 'linux-api-headers')
12 makedepends=('gcc')
13 backup=()
14 options=('!libtool')
16 source=(configure.patch http://mark.heily.com/sites/mark.heily.com/files/$pkgname-$pkgver.tar.gz)
18 build() {
19   cd $startdir/src/$pkgname-$pkgver
21   msg "patching 'configure'..."
22   patch -p1 < ../configure.patch || return 1
23   CFLAGS='-fPIC -I./include -I./src/common -Wall -Werror' ./configure --prefix=/usr || return 1
24   make || return 1
25   make DESTDIR=$startdir/pkg install || return 1
28 md5sums=('7f6bd2f566a2a37dc1feff894a083066'
29          'a3ce4cd20c24de3594bbb3cac50becfa')