30 lines
798 B
Bash
30 lines
798 B
Bash
# Template file for 'libevent'
|
|
pkgname=libevent
|
|
version=2.1.12
|
|
revision=2
|
|
build_style=gnu-configure
|
|
makedepends="openssl-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
|
|
}
|
|
}
|