nlohmannjson: update to 3.8.0 12816/head
authorRosen Penev <rosenp@gmail.com>
Wed, 15 Jul 2020 03:55:39 +0000 (20:55 -0700)
committerRosen Penev <rosenp@gmail.com>
Wed, 15 Jul 2020 18:53:27 +0000 (11:53 -0700)
Add BUILDONLY since this is only used for the headers.

Rearranged variables for consistency between packages.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
libs/nlohmannjson/Makefile

index 200f89ad62b718d8f2ee7283c2df247d0bb5b400..08261c8827a2d59f1edd88410f04d58530d2c798 100644 (file)
@@ -5,18 +5,18 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=nlohmannjson
-PKG_VERSION:=3.7.3
+PKG_VERSION:=3.8.0
 PKG_RELEASE:=1
 
+PKG_SOURCE:=json-$(PKG_VERSION).zip
+PKG_SOURCE_URL:=https://codeload.github.com/nlohmann/json/zip/v$(PKG_VERSION)?
+PKG_HASH:=83947cb78d50990b4b931b8dbc8632781bc601baa45b75ece0899c7b98d86c0b
+PKG_BUILD_DIR:=$(BUILD_DIR)/json-$(PKG_VERSION)
+
 PKG_MAINTAINER:=Leonid Esman <leonid.esman@gmail.com>
 PKG_LICENSE:=MIT
 PKG_LICENSE_FILES:=LICENSE.MIT
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/json-$(PKG_VERSION)
-PKG_SOURCE:=json-$(PKG_VERSION).zip
-PKG_SOURCE_URL:=https://codeload.github.com/nlohmann/json/zip/v$(PKG_VERSION)?
-PKG_HASH:=e109cd4a9d1d463a62f0a81d7c6719ecd780a52fb80a22b901ed5b6fe43fb45b
-
 include $(INCLUDE_DIR)/package.mk
 
 define Package/nlohmannjson
@@ -24,6 +24,7 @@ define Package/nlohmannjson
   CATEGORY:=Libraries
   TITLE:=JSON for Modern C++
   URL:=https://nlohmann.github.io/json/
+  BUILDONLY:=1
 endef
 
 define Package/nlohmannjson/description