pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Add SSVUtilsJson-20130714 from Romeo Vittorio
Module Name: pkgsrc-wip
Committed By: Iain Hibbert <plunky%netbsd.org@localhost>
Pushed By: plunky
Date: Thu Apr 30 08:58:11 2020 +0100
Changeset: ca06ba2b5e8953b448ccb72e3a7790f6e2fadeb9
Added Files:
SSVUtilsJson/DESCR
SSVUtilsJson/Makefile
SSVUtilsJson/PLIST
SSVUtilsJson/buildlink3.mk
SSVUtilsJson/distinfo
SSVUtilsJson/patches/patch-CMakeLists.txt
Log Message:
Add SSVUtilsJson-20130714 from Romeo Vittorio
There is no version number for this upstream, I have used the date of
the last commit on the submodule tagged by OpenHexagon.
C++14 JSON utility library that depends on SSVUtils
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ca06ba2b5e8953b448ccb72e3a7790f6e2fadeb9
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
SSVUtilsJson/DESCR | 1 +
SSVUtilsJson/Makefile | 33 +++++++++++++++++++++++++++++++
SSVUtilsJson/PLIST | 7 +++++++
SSVUtilsJson/buildlink3.mk | 17 ++++++++++++++++
SSVUtilsJson/distinfo | 7 +++++++
SSVUtilsJson/patches/patch-CMakeLists.txt | 17 ++++++++++++++++
6 files changed, 82 insertions(+)
diffs:
diff --git a/SSVUtilsJson/DESCR b/SSVUtilsJson/DESCR
new file mode 100644
index 0000000000..a8c51f6b0d
--- /dev/null
+++ b/SSVUtilsJson/DESCR
@@ -0,0 +1 @@
+C++14 JSON utility library that depends on SSVUtils
diff --git a/SSVUtilsJson/Makefile b/SSVUtilsJson/Makefile
new file mode 100644
index 0000000000..33ecc175fb
--- /dev/null
+++ b/SSVUtilsJson/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD$
+#
+
+# use date of commit as has no version only a tag
+
+DISTNAME= SSVUtilsJson
+PKGNAME= ${DISTNAME}-20130714
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=SuperV1234/}
+GITHUB_TAG= 95836250e3a9b65883f22991190e652a455121c1
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/SuperV1234/SSVUtilsJson
+COMMENT= C++14 utility library for Json
+LICENSE= afl-3.0
+
+USE_LANGUAGES= c c++14
+USE_CMAKE= yes
+
+MODULES= ${SSVJSONCPP_MODULE} ${SSVUTILS_MODULE}
+
+CMAKE_ARGS+= -DBUILD_SHARED_LIB:BOOL=OFF
+CMAKE_ARGS+= -DMODULES=${MODULES:ts;:Q}
+
+INSTALLATION_DIRS+= include/${PKGBASE} lib/cmake/${PKGBASE}
+
+post-install:
+ ${INSTALL_LIB} ${WRKSRC}/cmake/modules/Find${PKGBASE}.cmake \
+ ${DESTDIR}${PREFIX}/lib/cmake/${PKGBASE}
+
+.include "../../wip/SSVJsonCpp/buildlink3.mk"
+.include "../../wip/SSVUtils/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/SSVUtilsJson/PLIST b/SSVUtilsJson/PLIST
new file mode 100644
index 0000000000..1d0fc520ab
--- /dev/null
+++ b/SSVUtilsJson/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD$
+include/SSVUtilsJson/LinkedValue/LinkedValue.h
+include/SSVUtilsJson/SSVUtilsJson.h
+include/SSVUtilsJson/Utils/Internal/Helper.h
+include/SSVUtilsJson/Utils/Internal/Typedefs.h
+include/SSVUtilsJson/Utils/UtilsJson.h
+lib/cmake/SSVUtilsJson/FindSSVUtilsJson.cmake
diff --git a/SSVUtilsJson/buildlink3.mk b/SSVUtilsJson/buildlink3.mk
new file mode 100644
index 0000000000..2f1de3b4fe
--- /dev/null
+++ b/SSVUtilsJson/buildlink3.mk
@@ -0,0 +1,17 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= SSVUtilsJson
+
+.if !defined(SSVUTILSJSON_BUILDLINK3_MK)
+SSVUTILSJSON_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.SSVUtilsJson+= SSVUtilsJson>=20130714
+BUILDLINK_PKGSRCDIR.SSVUtilsJson?= ../../wip/SSVUtilsJson
+
+SSVUTILSJSON_MODULE= ${PREFIX}/lib/cmake/SSVUtilsJson
+
+.include "../../wip/SSVJsonCpp/buildlink3.mk"
+
+.endif # SSVUTILSJSON_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -SSVUtilsJson
diff --git a/SSVUtilsJson/distinfo b/SSVUtilsJson/distinfo
new file mode 100644
index 0000000000..6eb9a5abc3
--- /dev/null
+++ b/SSVUtilsJson/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (SSVUtilsJson-95836250e3a9b65883f22991190e652a455121c1.tar.gz) = 31338e8e2f569d6a53267989ab6fca2449d52e82
+RMD160 (SSVUtilsJson-95836250e3a9b65883f22991190e652a455121c1.tar.gz) = 2c38b263bfd125772dd4c2799a5579a41e941b3f
+SHA512 (SSVUtilsJson-95836250e3a9b65883f22991190e652a455121c1.tar.gz) = bcc01f6dc70353100ca3cf184d16c65ebac0cc0b256aa31c0c9c8925b96eb6cd3dc79c685d4d250f83ca3656498d927da796c5fdd813518db3d15cf096a11f97
+Size (SSVUtilsJson-95836250e3a9b65883f22991190e652a455121c1.tar.gz) = 8298 bytes
+SHA1 (patch-CMakeLists.txt) = 38b7b553dc65b303b7d2441066694f4784b66da4
diff --git a/SSVUtilsJson/patches/patch-CMakeLists.txt b/SSVUtilsJson/patches/patch-CMakeLists.txt
new file mode 100644
index 0000000000..5f3dd22270
--- /dev/null
+++ b/SSVUtilsJson/patches/patch-CMakeLists.txt
@@ -0,0 +1,17 @@
+$NetBSD$
+
+allow pkgsrc to point to dependencies
+
+--- CMakeLists.txt.orig 2013-07-13 23:17:35.000000000 +0000
++++ CMakeLists.txt
+@@ -6,9 +6,7 @@ project(SSVUtilsJson)
+ set(CMAKE_CXX_FLAGS "-std=c++11 -Wall -Wextra -W -pedantic" CACHE STRING "" FORCE)
+ set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG -O3" CACHE STRING "" FORCE)
+ set(CMAKE_CXX_FLAGS_DEBUG "-fno-omit-frame-pointer -g3 -gdwarf-2 -O0" CACHE STRING "" FORCE)
+-set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules/;${CMAKE_MODULE_PATH}")
+-set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/extlibs/SSVJsonCpp/cmake/modules/;${CMAKE_MODULE_PATH}")
+-set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/extlibs/SSVUtils/cmake/modules/;${CMAKE_MODULE_PATH}")
++set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules/;${MODULES}")
+
+ find_package(SSVJsonCpp REQUIRED)
+ find_package(SSVUtils REQUIRED)
Home |
Main Index |
Thread Index |
Old Index