28 lines
786 B
Bash
28 lines
786 B
Bash
# Template file for 'libev'
|
|
pkgname=libev
|
|
version=4.27
|
|
revision=1
|
|
build_style=gnu-configure
|
|
short_desc="High-performance event loop loosely modelled after libevent"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later, BSD-2-Clause"
|
|
homepage="http://software.schmorp.de/pkg/libev.html"
|
|
distfiles="http://dist.schmorp.de/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=2d5526fc8da4f072dd5c73e18fbb1666f5ef8ed78b73bba12e195cfdd810344e
|
|
|
|
post_install() {
|
|
# Conflicts with libevent, not necessary.
|
|
rm -f ${DESTDIR}/usr/include/event.h
|
|
vlicense LICENSE
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|