void-packages/srcpkgs/c-capnproto/template

33 lines
801 B
Bash

# Template file for 'c-capnproto'
pkgname=c-capnproto
version=0.3
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool"
depends="capnproto"
short_desc="C plugin for Cap'n Proto"
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
license="MIT"
homepage="https://github.com/opensourcerouting/c-capnproto"
distfiles="${homepage}/releases/download/${pkgname}-${version}/${pkgname}-${version}.tar.xz"
checksum=215bc921b5196d0e52a2a8a65d99b80f6a3c0c4413300736fd961c174cf79937
pre_configure() {
autoreconf -fi
}
post_install() {
vlicense COPYING
}
c-capnproto-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}