void-packages/srcpkgs/libkqueue/template

32 lines
741 B
Bash
Raw Normal View History

2015-12-04 22:21:42 +00:00
# Template file for 'libkqueue'
pkgname=libkqueue
2016-02-07 14:33:13 +00:00
version=2.0.4
2015-12-04 22:21:42 +00:00
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"
2016-02-07 14:33:13 +00:00
checksum=9ad52f5425b0926823f37605876455574d7d39bb250a4b3b4c96d41e98465cf9
2015-12-04 22:21:42 +00:00
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"
}
}