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-07-28 12:25:16 +00:00
version=2.1.0
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-07-28 12:25:16 +00:00
checksum=6ef91fb9ffd0630e14ed7e551e64fbe14f1af84fed34f1972cdb703593b6ad1f
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"
}
}