Files
haikuports/dev-libs/nlohmann_json/nlohmann_json-3.4.0.recipe
2019-01-27 12:12:41 +07:00

33 lines
670 B
Bash

SUMMARY="JSON library for Modern C++"
DESCRIPTION="One-header JSON library with intuitive syntax."
HOMEPAGE="https://github.com/nlohmann/json"
COPYRIGHT="2013-2018 Niels Lohmann"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="https://github.com/nlohmann/json/releases/download/v$portVersion/json.hpp#noarchive"
CHECKSUM_SHA256="63da6d1f22b2a7bb9e4ff7d6b255cf691a161ff49532dcc45d398a53e295835f"
ARCHITECTURES="any"
PROVIDES="
nlohmann_json = $portVersion
devel:nlohmann_json = $portVersion
"
REQUIRES="
haiku_devel
"
BUILD_REQUIRES=""
BUILD_PREREQUIRES=""
BUILD()
{
true
}
INSTALL()
{
mkdir -p $includeDir/nlohmann
cp json.hpp $includeDir/nlohmann/json.hpp
}