void-packages/srcpkgs/libev/template

28 lines
786 B
Bash

# Template file for 'libev'
pkgname=libev
version=4.25
revision=1
build_style=gnu-configure
short_desc="High-performance event loop loosely modelled after libevent"
maintainer="Juan RP <xtraeme@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=78757e1c27778d2f3795251d9fe09715d51ce0422416da4abb34af3929c02589
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
}
}