void-packages/srcpkgs/libuev/template
maxice8 28d6bd6e7b libuev: update to 2.1.2.
Closes: #11941 [via git-merge-pr]
2018-03-12 17:58:34 -07:00

32 lines
792 B
Bash

# Template file for 'libuev'
pkgname=libuev
version=2.1.2
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=c5051fd8e00ad4f546205fcf84de651dbcf360acdc6bd8f69d61e61a0d0edd65
pre_configure() {
./autogen.sh
}
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"
}
}