Files
void-packages/srcpkgs/libuev/template
2017-11-14 17:30:57 +01:00

38 lines
821 B
Bash

# Template file for 'libuev'
pkgname=libuev
version=2.0.0
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="Lightweight event loop library"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="MIT"
homepage="https://github.com/troglobit/libuev"
distfiles="https://github.com/troglobit/libuev/archive/v${version}.tar.gz"
checksum=a310066dd762ceeff85c5ac3814ac358125f1ed74f91c8b63fe6e551a5ccd97b
pre_configure() {
./autogen.sh
}
do_check() {
make check
}
post_install() {
vlicense LICENSE
rm -f ${DESTDIR}/usr/share/doc/libuev/LICENSE
}
libuev-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/doc
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}