2011-11-06 00:12:21 +01:00
|
|
|
# Template file for 'libev'
|
|
|
|
pkgname=libev
|
2013-03-13 00:01:13 +01:00
|
|
|
version=4.15
|
2013-04-13 10:15:49 +02:00
|
|
|
revision=3
|
2013-03-13 00:01:13 +01:00
|
|
|
build_style=gnu-configure
|
2011-11-06 00:12:21 +01:00
|
|
|
short_desc="High-performance event loop loosely modelled after libevent"
|
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
|
|
|
license="GPL-2, BSD"
|
2013-03-13 00:01:13 +01:00
|
|
|
homepage="http://software.schmorp.de/pkg/${pkgname}.html"
|
|
|
|
distfiles="http://dist.schmorp.de/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum=b2dd43a073556f5350cbed05b6ef444dcc4b563f4e0b1009d7bf448261606feb
|
2011-11-06 00:12:21 +01:00
|
|
|
long_desc="
|
|
|
|
A full-featured and high-performance (see benchmark) event loop that is
|
|
|
|
loosely modelled after libevent, but without its limitations and bugs. It is
|
|
|
|
used, among others, in the GNU Virtual Private Ethernet and rxvt-unicode
|
|
|
|
packages, and in the Deliantra MORPG Server and Client."
|
2013-04-13 10:15:49 +02:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
# Conflicts with libevent, not necessary.
|
|
|
|
rm -f ${DESTDIR}/usr/include/event.h
|
|
|
|
}
|
|
|
|
|
|
|
|
libev-devel_package() {
|
|
|
|
depends="libev>=${version}"
|
|
|
|
short_desc="${short_desc} -- Development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libev_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|