void-packages/srcpkgs/libevent/template
2020-07-07 20:07:40 +02:00

30 lines
837 B
Bash

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