2011-11-05 23:12:21 +00:00
|
|
|
# Template file for 'libev'
|
|
|
|
pkgname=libev
|
2013-03-12 23:01:13 +00:00
|
|
|
version=4.15
|
2014-06-08 09:52:36 +00:00
|
|
|
revision=5
|
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"
|
2014-06-08 09:52:36 +00:00
|
|
|
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"
|
|
|
|
checksum=b2dd43a073556f5350cbed05b6ef444dcc4b563f4e0b1009d7bf448261606feb
|
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"
|
2013-04-13 08:15:49 +00:00
|
|
|
}
|
|
|
|
}
|