@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME := nlohmannjson
PKG_VERSION := 3.8.0
PKG_RELEASE := 1
PKG_RELEASE := 2
PKG_SOURCE := json-$( PKG_VERSION) .zip
PKG_SOURCE_URL := https://codeload.github.com/nlohmann/json/zip/v$( PKG_VERSION) ?
@ -17,7 +17,11 @@ PKG_MAINTAINER:=Leonid Esman <leonid.esman@gmail.com>
PKG_LICENSE := MIT
PKG_LICENSE_FILES := LICENSE.MIT
PKG_INSTALL := 1
PKG_BUILD_DEPENDS := meson/host
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e . . / . . / d e v e l / m e s o n / m e s o n . m k
d e f i n e P a c k a g e / n l o h m a n n j s o n
SECTION:= libs
@ -32,8 +36,10 @@ define Package/nlohmannjson/description
e n d e f
d e f i n e B u i l d / I n s t a l l D e v
$( INSTALL_DIR) $( 1) /usr/include
$( CP) $( PKG_BUILD_DIR) /include/nlohmann $( 1) /usr/include
$( INSTALL_DIR) $( 1) /usr/include/nlohmann
$( CP) $( PKG_INSTALL_DIR) /usr/include/nlohmann/json.hpp $( 1) /usr/include/nlohmann
$( INSTALL_DIR) $( 1) /usr/lib/pkgconfig
$( CP) $( PKG_INSTALL_DIR) /usr/lib/pkgconfig/nlohmann_json.pc $( 1) /usr/lib/pkgconfig
e n d e f
$( eval $ ( call BuildPackage ,nlohmannjson ) )