void-packages/srcpkgs/libev/template
2014-02-20 17:17:47 +01:00

26 lines
747 B
Text

# Template file for 'libev'
pkgname=libev
version=4.15
revision=4
build_style=gnu-configure
short_desc="High-performance event loop loosely modelled after libevent"
maintainer="davehome <davehome@redthumb.info.tm>"
license="GPL-2, BSD"
homepage="http://software.schmorp.de/pkg/${pkgname}.html"
distfiles="http://dist.schmorp.de/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=b2dd43a073556f5350cbed05b6ef444dcc4b563f4e0b1009d7bf448261606feb
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"
}
}