void-packages/srcpkgs/capnproto/template
eater ee140ec9e1 New package: capnproto-0.5.3
Closes #5108 and cleans up the subpackages there
2016-12-07 19:39:04 -05:00

32 lines
821 B
Bash

# Template file for 'capnproto'
pkgname=capnproto
version=0.5.3
revision=1
wrksrc="${pkgname}-c++-${version}"
build_style=gnu-configure
short_desc="Cap'n Proto serialization/RPC system"
maintainer="eater <hello@eaterofco.de>"
license="MIT"
homepage="https://capnproto.org"
distfiles="${homepage}/capnproto-c++-${version}.tar.gz"
checksum="cdb17c792493bdcd4a24bcd196eb09f70ee64c83a3eccb0bc6534ff560536afb"
nocross="Tries to execute compiled code during build"
post_install() {
vlicense LICENSE.txt
}
capnproto-devel_package() {
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.la
vmove usr/lib/libcapnp-rpc.so
vmove usr/lib/libcapnp.so
vmove usr/lib/libcapnpc.so
vmove usr/lib/libkj-async.so
vmove usr/lib/libkj.so
vmove usr/lib/pkgconfig
}
}