void-packages/srcpkgs/libev/template

28 lines
763 B
Bash
Raw Normal View History

2011-11-05 23:12:21 +00:00
# Template file for 'libev'
pkgname=libev
2015-06-21 05:44:59 +00:00
version=4.20
2015-06-21 05:55:02 +00:00
revision=2
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@voidlinux.eu>"
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"
2015-06-21 05:44:59 +00:00
checksum=f870334c7fa961e7f31087c7d76abf849f596e3048f8ed2a0aaa983cd73d449e
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"
2015-06-21 05:55:02 +00:00
vmove usr/share/man
}
}