cJSON: Make utils, add buildlink3.mk file
This commit is contained in:
parent
72f09a3b13
commit
d3509878a9
|
@ -12,6 +12,7 @@ LICENSE= mit
|
|||
|
||||
USE_CMAKE= yes
|
||||
USE_TOOLS+= pkg-config
|
||||
CMAKE_ARGS+= -DENABLE_CJSON_UTILS=On
|
||||
TEST_TARGET= test
|
||||
TEST_ENV+= LD_LIBRARY_PATH=${WRKSRC}
|
||||
|
||||
|
|
|
@ -1,10 +1,17 @@
|
|||
@comment $NetBSD$
|
||||
include/cjson/cJSON.h
|
||||
include/cjson/cJSON_Utils.h
|
||||
lib/cmake/cJSON/cJSONConfig.cmake
|
||||
lib/cmake/cJSON/cJSONConfigVersion.cmake
|
||||
lib/cmake/cJSON/cjson-noconfig.cmake
|
||||
lib/cmake/cJSON/cjson.cmake
|
||||
lib/cmake/cJSON/cjson_utils-noconfig.cmake
|
||||
lib/cmake/cJSON/cjson_utils.cmake
|
||||
lib/libcjson.so
|
||||
lib/libcjson.so.1
|
||||
lib/libcjson.so.${PKGVERSION}
|
||||
lib/libcjson_utils.so
|
||||
lib/libcjson_utils.so.1
|
||||
lib/libcjson_utils.so.${PKGVERSION}
|
||||
lib/pkgconfig/libcjson.pc
|
||||
lib/pkgconfig/libcjson_utils.pc
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
# $NetBSD$
|
||||
|
||||
BUILDLINK_TREE+= cJSON
|
||||
|
||||
.if !defined(CJSON_BUILDLINK3_MK)
|
||||
CJSON_BUILDLINK3_MK:=
|
||||
|
||||
BUILDLINK_API_DEPENDS.cJSON+= cJSON>=1.7.13
|
||||
BUILDLINK_PKGSRCDIR.cJSON?= ../../wip/cJSON
|
||||
.endif # CJSON_BUILDLINK3_MK
|
||||
|
||||
BUILDLINK_TREE+= -cJSON
|
Loading…
Reference in New Issue