void-packages/srcpkgs/libev/template
2014-09-09 22:30:25 +02:00

26 lines
738 B
Text

# Template file for 'libev'
pkgname=libev
version=4.18
revision=1
build_style=gnu-configure
short_desc="High-performance event loop loosely modelled after libevent"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2, BSD"
homepage="http://software.schmorp.de/pkg/${pkgname}.html"
distfiles="http://dist.schmorp.de/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=38300812f870150d44db4fd073658db7eaceb4125f5c51cf395ee4409453fe4f
post_install() {
# Conflicts with libevent, not necessary.
rm -f ${DESTDIR}/usr/include/event.h
}
libev-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - Development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}