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"
|
2015-04-10 07:16:30 +00:00
|
|
|
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
|
2013-04-13 08:15:49 +00:00
|
|
|
|
|
|
|
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}"
|
2014-01-01 15:10:11 +00:00
|
|
|
short_desc+=" - Development files"
|
2013-04-13 08:15:49 +00:00
|
|
|
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
|
2013-04-13 08:15:49 +00:00
|
|
|
}
|
|
|
|
}
|