void-packages/srcpkgs/libevent/template

30 lines
794 B
Text

# Template file for 'libevent'
pkgname=libevent
version=2.0.21
revision=3
wrksrc="$pkgname-$version-stable"
build_style=gnu-configure
configure_args="--disable-static"
makedepends="openssl-devel"
short_desc="Abstract asynchronous event notification library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.monkey.org/~provos/libevent/"
license="GPL-2"
distfiles="https://github.com/downloads/$pkgname/$pkgname/$pkgname-$version-stable.tar.gz"
checksum=22a530a8a5ba1cb9c080cba033206b17dacd21437762155c6d30ee6469f574f5
libevent-devel_package() {
depends="openssl-devel libevent>=${version}"
short_desc="${short_desc} -- development files"
pkg_install() {
vmove usr/bin
vmove usr/include
vmove usr/lib/pkgconfig
}
}
libevent_package() {
pkg_install() {
vmove usr
}
}