void-packages/srcpkgs/libkqueue/template
2015-12-04 23:30:26 +01:00

31 lines
741 B
Bash

# Template file for 'libkqueue'
pkgname=libkqueue
version=2.0.3
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="kqueue(2) compatibility library"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="ISC, BSD"
homepage="https://github.com/mheily/libkqueue"
distfiles="https://github.com/mheily/libkqueue/archive/v${version}.tar.gz"
checksum=524cfddd0d4a006221fe8e93637cfafef01576c30e757351c8ae9cba2f017b48
pre_configure() {
autoreconf -fi
}
post_install() {
vlicense LICENSE
}
libkqueue-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}