void-packages/srcpkgs/c-capnproto/template

34 lines
800 B
Bash
Raw Normal View History

2018-08-28 08:16:08 +02:00
# 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.eu>"
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
}
}