void-packages/srcpkgs/libev/template

27 lines
738 B
Plaintext

# Template file for 'libev'
pkgname=libev
version=4.15
revision=5
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=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"
}
}