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