diff --git a/common/shlibs b/common/shlibs index 4e3d502346..226345a55e 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3776,3 +3776,4 @@ libmpir.so.23 mpir-3.0.0_1 libmpirxx.so.8 mpir-3.0.0_1 libcaribou.so.0 libcaribou-0.4.21_3 libtinyclipboard.so.1 tinyclipboard-16.01_1 +libcbor.so.0 libcbor-0.5.0_1 diff --git a/srcpkgs/libcbor-devel b/srcpkgs/libcbor-devel new file mode 120000 index 0000000000..035b795a42 --- /dev/null +++ b/srcpkgs/libcbor-devel @@ -0,0 +1 @@ +libcbor \ No newline at end of file diff --git a/srcpkgs/libcbor/template b/srcpkgs/libcbor/template new file mode 100644 index 0000000000..606bb2e60e --- /dev/null +++ b/srcpkgs/libcbor/template @@ -0,0 +1,27 @@ +# Template file for 'libcbor' +pkgname=libcbor +version=0.5.0 +revision=1 +build_style=cmake +make_build_args="cbor cbor_shared" +short_desc="Library for parsing and generating CBOR, a binary data format" +maintainer="Leah Neukirchen " +license="MIT" +homepage="https://github.com/PJK/libcbor" +distfiles="https://github.com/PJK/libcbor/archive/v${version}.tar.gz" +checksum=9bbec94bb385bad3cd2f65482e5d343ddb97e9ffe261123ea0faa3bfea51d320 + +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/*.a" + vmove "usr/lib/*.so" + } +}