blob: 49d650e19fc36a4ef81691214be3d72fa3b7d272 (
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
27
28
|
# 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:= 2f227cb122584989a61278e93f9a26b1a7e3d1bf
PKG_GIT:= hash
PKG_RELEASE:= 1
PKG_DESCR:= c++ library for json
PKG_SECTION:= libs/misc
PKG_BUILDDEP:= cmake-host
PKG_NEEDS:= c++
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
|