27 lines
763 B
Bash
27 lines
763 B
Bash
# Template file for 'libev'
|
|
pkgname=libev
|
|
version=4.23
|
|
revision=1
|
|
build_style=gnu-configure
|
|
short_desc="High-performance event loop loosely modelled after libevent"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2, BSD"
|
|
homepage="http://software.schmorp.de/pkg/${pkgname}.html"
|
|
distfiles="http://dist.schmorp.de/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=c7fe743e0c3b50dd34bf222ebdba4e8acac031d41ce174f17890f8f84eeddd7a
|
|
|
|
post_install() {
|
|
# Conflicts with libevent, not necessary.
|
|
rm -f ${DESTDIR}/usr/include/event.h
|
|
}
|
|
|
|
libev-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share/man
|
|
}
|
|
}
|