vp-build/srcpkgs/libev/template

29 lines
785 B
Bash

# Template file for 'libev'
pkgname=libev
version=4.24
revision=2
build_style=gnu-configure
short_desc="High-performance event loop loosely modelled after libevent"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
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=973593d3479abdf657674a55afe5f78624b0e440614e2b8cb3a07f16d4d7f821
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
}
}