void-packages/srcpkgs/libevent/template

26 lines
733 B
Bash

# Template file for 'libevent'
pkgname=libevent
version=2.0.22
revision=6
wrksrc="$pkgname-$version-stable"
build_style=gnu-configure
makedepends="libressl-devel"
short_desc="Abstract asynchronous event notification library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
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
}
}