void-packages/srcpkgs/libevent/template

30 lines
820 B
Bash

# Template file for 'libevent'
pkgname=libevent
version=2.1.10
revision=2
wrksrc="${pkgname}-${version}-stable"
build_style=gnu-configure
makedepends="libressl-devel"
short_desc="Abstract asynchronous event notification library"
maintainer="Orphaned <orphan@voidlinux.org>"
homepage="http://libevent.org/"
license="3-clause-BSD"
distfiles="https://github.com/libevent/libevent/releases/download/release-${version}-stable/libevent-${version}-stable.tar.gz"
checksum=e864af41a336bb11dab1a23f32993afe963c1f69618bd9292b89ecf6904845b0
post_install() {
vlicense LICENSE
}
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
}
}