30 lines
837 B
Bash
30 lines
837 B
Bash
# Template file for 'libevent'
|
|
pkgname=libevent
|
|
version=2.1.11
|
|
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>"
|
|
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=a65bac6202ea8c5609fd5c7e480e6d25de467ea1917c08290c521752f147283d
|
|
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
|
|
}
|
|
}
|