void-packages/srcpkgs/libuev/template
2018-01-28 18:16:34 -05:00

32 lines
792 B
Bash

# Template file for 'libuev'
pkgname=libuev
version=2.1.1
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=bce614017e08247282c4a7a9b74674b49444e12d69774ec42985c29a4237c7ae
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"
}
}