void-packages/srcpkgs/libev/template

27 lines
738 B
Text
Raw Normal View History

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