void-packages/srcpkgs/libcbor/template

27 lines
677 B
Bash
Raw Normal View History

2020-02-14 10:29:02 +00:00
# Template file for 'libcbor'
pkgname=libcbor
2020-04-26 16:51:06 +00:00
version=0.7.0
2020-02-14 10:29:02 +00:00
revision=1
build_style=cmake
2020-03-16 13:02:08 +00:00
make_build_args="cbor_shared"
2020-02-14 10:29:02 +00:00
short_desc="Library for parsing and generating CBOR, a binary data format"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="MIT"
homepage="https://github.com/PJK/libcbor"
distfiles="https://github.com/PJK/libcbor/archive/v${version}.tar.gz"
2020-04-26 16:51:06 +00:00
checksum=fb731afe0a9980581d85e4b8d4ef128b175f782d92e0cd898935f3d26dd3dde7
2020-02-14 10:29:02 +00:00
post_install() {
vlicense LICENSE.md
}
libcbor-devel_package() {
depends="libcbor>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}