27 lines
688 B
Bash
27 lines
688 B
Bash
# Template file for 'libcbor'
|
|
pkgname=libcbor
|
|
version=0.10.2
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_SHARED_LIBS=ON"
|
|
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"
|
|
checksum=e75f712215d7b7e5c89ef322a09b701f7159f028b8b48978865725f00f79875b
|
|
|
|
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"
|
|
}
|
|
}
|