void-packages/srcpkgs/libuev/template
2019-04-07 16:42:10 +02:00

34 lines
878 B
Bash

# Template file for 'libuev'
pkgname=libuev
version=2.3.0
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="Lightweight event loop library"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="MIT"
homepage="https://github.com/troglobit/libuev"
#changelog="https://raw.githubusercontent.com/troglobit/libuev/master/ChangeLog.md"
distfiles="https://github.com/troglobit/libuev/archive/v${version}.tar.gz"
checksum=3f46ca3655102ca629597f9d2908b9e30986f58b749496c2f1a6e9312105d07d
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"
}
}