summaryrefslogtreecommitdiff
path: root/devel/flatbuffers
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2017-11-22 19:30:48 +0000
committerminskim <minskim@pkgsrc.org>2017-11-22 19:30:48 +0000
commitb787dd8623423c2ea4191399655cc31135299da7 (patch)
tree1d255b1de9c8565dce4beb7b8d7d0d5a2bb7e76e /devel/flatbuffers
parentc24a4d5ee8d9f3962ada178f5b06df493d068d6b (diff)
downloadpkgsrc-b787dd8623423c2ea4191399655cc31135299da7.tar.gz
devel/flatbuffers: Import version 1.8.0
FlatBuffers is an efficient cross platform serialization library for C++, C#, C, Go, Java, JavaScript, PHP, and Python. It was originally created at Google for game development and other performance-critical applications.
Diffstat (limited to 'devel/flatbuffers')
-rw-r--r--devel/flatbuffers/DESCR4
-rw-r--r--devel/flatbuffers/Makefile19
-rw-r--r--devel/flatbuffers/PLIST27
-rw-r--r--devel/flatbuffers/buildlink3.mk12
-rw-r--r--devel/flatbuffers/distinfo6
5 files changed, 68 insertions, 0 deletions
diff --git a/devel/flatbuffers/DESCR b/devel/flatbuffers/DESCR
new file mode 100644
index 00000000000..c60f0799063
--- /dev/null
+++ b/devel/flatbuffers/DESCR
@@ -0,0 +1,4 @@
+FlatBuffers is an efficient cross platform serialization library for
+C++, C#, C, Go, Java, JavaScript, PHP, and Python. It was originally
+created at Google for game development and other performance-critical
+applications.
diff --git a/devel/flatbuffers/Makefile b/devel/flatbuffers/Makefile
new file mode 100644
index 00000000000..186352ec418
--- /dev/null
+++ b/devel/flatbuffers/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2017/11/22 19:30:48 minskim Exp $
+
+DISTNAME= flatbuffers-1.8.0
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=google/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= minskim@NetBSD.org
+HOMEPAGE= http://google.github.io/flatbuffers/
+COMMENT= Memory efficient serialization library
+LICENSE= apache-2.0
+
+USE_CMAKE= yes
+USE_LANGUAGES= c c++11
+
+CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
+CMAKE_ARGS+= -DFLATBUFFERS_BUILD_SHAREDLIB=ON
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/flatbuffers/PLIST b/devel/flatbuffers/PLIST
new file mode 100644
index 00000000000..dbd6c872259
--- /dev/null
+++ b/devel/flatbuffers/PLIST
@@ -0,0 +1,27 @@
+@comment $NetBSD: PLIST,v 1.1 2017/11/22 19:30:48 minskim Exp $
+bin/flatc
+include/flatbuffers/base.h
+include/flatbuffers/code_generators.h
+include/flatbuffers/flatbuffers.h
+include/flatbuffers/flatc.h
+include/flatbuffers/flexbuffers.h
+include/flatbuffers/grpc.h
+include/flatbuffers/hash.h
+include/flatbuffers/idl.h
+include/flatbuffers/minireflect.h
+include/flatbuffers/reflection.h
+include/flatbuffers/reflection_generated.h
+include/flatbuffers/registry.h
+include/flatbuffers/stl_emulation.h
+include/flatbuffers/util.h
+lib/cmake/flatbuffers/FlatbuffersConfig.cmake
+lib/cmake/flatbuffers/FlatbuffersSharedTargets-release.cmake
+lib/cmake/flatbuffers/FlatbuffersSharedTargets.cmake
+lib/cmake/flatbuffers/FlatbuffersTargets-release.cmake
+lib/cmake/flatbuffers/FlatbuffersTargets.cmake
+lib/cmake/flatbuffers/FlatcTargets-release.cmake
+lib/cmake/flatbuffers/FlatcTargets.cmake
+lib/libflatbuffers.${PKGVERSION}.so
+lib/libflatbuffers.1.so
+lib/libflatbuffers.a
+lib/libflatbuffers.so
diff --git a/devel/flatbuffers/buildlink3.mk b/devel/flatbuffers/buildlink3.mk
new file mode 100644
index 00000000000..7040a630446
--- /dev/null
+++ b/devel/flatbuffers/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/11/22 19:30:48 minskim Exp $
+
+BUILDLINK_TREE+= flatbuffers
+
+.if !defined(FLATBUFFERS_BUILDLINK3_MK)
+FLATBUFFERS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.flatbuffers+= flatbuffers>=1.8.0
+BUILDLINK_PKGSRCDIR.flatbuffers?= ../../devel/flatbuffers
+.endif # FLATBUFFERS_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -flatbuffers
diff --git a/devel/flatbuffers/distinfo b/devel/flatbuffers/distinfo
new file mode 100644
index 00000000000..0a5b491e85f
--- /dev/null
+++ b/devel/flatbuffers/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/11/22 19:30:48 minskim Exp $
+
+SHA1 (flatbuffers-1.8.0.tar.gz) = 658ed4e2859c3f4e5b9a665ae4f78834df4f9136
+RMD160 (flatbuffers-1.8.0.tar.gz) = be717253767ca9e2b36504d9d414ce8bd9d22665
+SHA512 (flatbuffers-1.8.0.tar.gz) = 8f6c84caa6456418fc751ea9de456dd37378b3239d1a41d2205140e7b19a5b8b2e342a22dc8d7fdd0c36878455e9d7401cc6438d3b771f7875e8fcfe7bbd52f1
+Size (flatbuffers-1.8.0.tar.gz) = 616362 bytes