PKGBUILDs/community/libev/PKGBUILD
2009-10-09 21:15:33 -05:00

30 lines
835 B
Bash

# $Id: PKGBUILD 1486 2009-08-24 08:19:38Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: Thomas Haider <t.haider@vcnc.org>
pkgname=libev
pkgver=3.80
_pkgver=3.8
pkgrel=1
pkgdesc="A full-featured and high-performance event loop"
arch=('i686' 'x86_64')
url="http://software.schmorp.de/pkg/libev.html"
license=('BSD')
depends=('glibc')
options=('!libtool')
source=(http://dist.schmorp.de/${pkgname}/Attic/${pkgname}-${_pkgver}.tar.gz)
md5sums=('4897453c077056769777d43e5495ded1')
build() {
cd "${srcdir}/${pkgname}-${_pkgver}"
./configure --prefix=/usr
make || return 1
make DESTDIR="${pkgdir}" install
# fix conflict with libevent
rm ${pkgdir}/usr/include/event.h
install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}