31 lines
741 B
Bash
31 lines
741 B
Bash
# Template file for 'libkqueue'
|
|
pkgname=libkqueue
|
|
version=2.1.0
|
|
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=6ef91fb9ffd0630e14ed7e551e64fbe14f1af84fed34f1972cdb703593b6ad1f
|
|
|
|
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"
|
|
}
|
|
}
|