void-packages/srcpkgs/libevent/template

25 lines
737 B
Text

# Template file for 'libevent'
pkgname=libevent
version=2.0.22
revision=2
wrksrc="$pkgname-$version-stable"
build_style=gnu-configure
makedepends="libressl-devel>=2.1.3"
short_desc="Abstract asynchronous event notification library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.monkey.org/~provos/libevent/"
license="GPL-2"
distfiles="${SOURCEFORGE_SITE}/levent/$pkgname-$version-stable.tar.gz"
checksum=71c2c49f0adadacfdbe6332a372c38cf9c8b7895bb73dabeaa53cdcc1d4e1fa3
libevent-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}