void-packages/srcpkgs/libev/template
2014-10-13 09:28:19 +02:00

26 lines
738 B
Text

# Template file for 'libev'
pkgname=libev
version=4.19
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=88fc5f89ca96ceca14c16c10e7be3e921dae65e84932d680c2fd6a40173edccb
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"
}
}