diff --git a/devel/libcbor/Makefile b/devel/libcbor/Makefile index 7d828e5e94b4..b09ad785d478 100644 --- a/devel/libcbor/Makefile +++ b/devel/libcbor/Makefile @@ -1,11 +1,9 @@ -# $NetBSD: Makefile,v 1.2 2019/11/03 10:39:15 rillig Exp $ +# $NetBSD: Makefile,v 1.3 2020/10/22 20:19:39 tnn Exp $ -DISTNAME= libcbor -PKGNAME= libcbor-${VERSION} -VERSION= 0.5.0 +DISTNAME= libcbor-0.8.0 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GITHUB:=PJK/} -GITHUB_TAG= v${VERSION} +GITHUB_TAG= v${PKGVERSION_NOREV} MAINTAINER= pkgsrc-users@pkgsrc.org HOMEPAGE= https://github.com/PJK/libcbor @@ -15,5 +13,8 @@ LICENSE= mit USE_LANGUAGES+= c c++ USE_CMAKE= yes USE_TOOLS+= pkg-config +CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON + +CHECK_PORTABILITY_SKIP+= misc/hooks/* .include "../../mk/bsd.pkg.mk" diff --git a/devel/libcbor/PLIST b/devel/libcbor/PLIST index 64924cd6f6b9..184b811651b1 100644 --- a/devel/libcbor/PLIST +++ b/devel/libcbor/PLIST @@ -1,8 +1,9 @@ -@comment $NetBSD: PLIST,v 1.1 2019/08/23 17:14:45 agc Exp $ +@comment $NetBSD: PLIST,v 1.2 2020/10/22 20:19:39 tnn Exp $ include/cbor.h include/cbor/arrays.h include/cbor/bytestrings.h include/cbor/callbacks.h +include/cbor/cbor_export.h include/cbor/common.h include/cbor/configuration.h include/cbor/data.h @@ -20,8 +21,7 @@ include/cbor/serialization.h include/cbor/streaming.h include/cbor/strings.h include/cbor/tags.h -lib/libcbor.a lib/libcbor.so -lib/libcbor.so.0 -lib/libcbor.so.0.0.0 +lib/libcbor.so.0.8 +lib/libcbor.so.${PKGVERSION} lib/pkgconfig/libcbor.pc diff --git a/devel/libcbor/buildlink3.mk b/devel/libcbor/buildlink3.mk index db91b3935a92..bcd28f8c16b1 100644 --- a/devel/libcbor/buildlink3.mk +++ b/devel/libcbor/buildlink3.mk @@ -1,14 +1,12 @@ -# $NetBSD: buildlink3.mk,v 1.1 2020/08/19 16:25:19 riastradh Exp $ +# $NetBSD: buildlink3.mk,v 1.2 2020/10/22 20:19:39 tnn Exp $ BUILDLINK_TREE+= libcbor -.if !defined(LIBCBOR_BUILDLINK_MK) -LIBCBOR_BUILDLINK_MK:= +.if !defined(LIBCBOR_BUILDLINK3_MK) +LIBCBOR_BUILDLINK3_MK:= -BUILDLINK_API_DEPENDS.libcbor+= libcbor>=0.5.0 -BUILDLINK_ABI_DEPENDS.libcbor+= libcbor>=0.5.0 +BUILDLINK_API_DEPENDS.libcbor+= libcbor>=0.8.0 BUILDLINK_PKGSRCDIR.libcbor?= ../../devel/libcbor - -.endif # LIBCBOR_BUILDLINK_MK +.endif # LIBCBOR_BUILDLINK3_MK BUILDLINK_TREE+= -libcbor diff --git a/devel/libcbor/distinfo b/devel/libcbor/distinfo index dc45973e41f0..8b4140ee24fc 100644 --- a/devel/libcbor/distinfo +++ b/devel/libcbor/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.1 2019/08/23 17:14:45 agc Exp $ +$NetBSD: distinfo,v 1.2 2020/10/22 20:19:39 tnn Exp $ -SHA1 (libcbor.tar.gz) = 1d03ae595a02929861dd2735b2abe20cacaaa707 -RMD160 (libcbor.tar.gz) = 7ccc6309a1757a53ecb7b197c1b3704cd9f38ee3 -SHA512 (libcbor.tar.gz) = 5c2e9610d9fbb0bfc59f89a180f70b58539a1760fd39cad696af372c164a87828a23bb4d3a54d8e9d846be5271204800f0ad63656ef830f06a0ccdd10edfdb2c -Size (libcbor.tar.gz) = 719348 bytes +SHA1 (libcbor-0.8.0.tar.gz) = 7ef8ab1d41973da933b27516b3398cbdeade6cb1 +RMD160 (libcbor-0.8.0.tar.gz) = ddd307e64b50f2a777a88e89e10e3891571226a2 +SHA512 (libcbor-0.8.0.tar.gz) = 694d2d3a78d80072f96e0afb73590ca1f3572e41d2117330ef4313ed06271743b048d3ba3259c6ffe9a802d5e441379d0e54787d1d42fed08dc81ac4f06c6dbc +Size (libcbor-0.8.0.tar.gz) = 267044 bytes