void-packages/srcpkgs/libuev/template

34 lines
793 B
Bash
Raw Normal View History

2016-06-25 23:20:45 +02:00
# Template file for 'libuev'
pkgname=libuev
version=1.4.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=a4100bcf31f6d296ed23d52a638b0b7c0858e5346800ff0d4722b62bc95024d5
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"
}
}