void-packages/srcpkgs/libev/template

29 lines
786 B
Bash

# Template file for 'libev'
pkgname=libev
version=4.33
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=507eb7b8d1015fbec5b935f34ebed15bf346bed04a11ab82b8eee848c4205aea
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
}
}