blob: 9c8743de789cc4d87ac08e411dbc0b0b3d7649fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= jsoncpp
PKG_VERSION:= 9cb88d2ca66af19c53a98843d159cc1d32ebaec6
PKG_RELEASE:= 1
PKG_DESCR:= c++ library for json
PKG_SECTION:= libs/misc
PKG_BUILDDEP:= cmake-host
PKG_URL:= https://github.com/open-source-parsers/jsoncpp
PKG_SITES:= https://github.com/open-source-parsers/jsoncpp.git
PKG_OPTS:= dev
include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,JSONCPP,jsoncpp,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
CONFIG_STYLE:= cmake
CMAKE_FLAGS:= -DJSONCPP_WITH_TESTS=OFF -DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF
jsoncpp-install:
$(INSTALL_DIR) $(IDIR_JSONCPP)/usr/lib
include $(ADK_TOPDIR)/mk/pkg-bottom.mk
|