pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Add SSVLuaWrapper-20130708 from Romeo Vittorio



Module Name:	pkgsrc-wip
Committed By:	Iain Hibbert <plunky%netbsd.org@localhost>
Pushed By:	plunky
Date:		Thu Apr 30 08:53:05 2020 +0100
Changeset:	017417eaca550fc792e3570b39f3c7bed7c32360

Added Files:
	SSVLuaWrapper/DESCR
	SSVLuaWrapper/Makefile
	SSVLuaWrapper/PLIST
	SSVLuaWrapper/buildlink3.mk
	SSVLuaWrapper/distinfo

Log Message:
Add SSVLuaWrapper-20130708 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.

A C++11 LUA wrapper written by Tomaka17.
The original project is discontinued. This was created with the original
code, removed the non-C++11 parts and formatted it.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=017417eaca550fc792e3570b39f3c7bed7c32360

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 SSVLuaWrapper/DESCR         |  3 +++
 SSVLuaWrapper/Makefile      | 39 +++++++++++++++++++++++++++++++++++++++
 SSVLuaWrapper/PLIST         |  5 +++++
 SSVLuaWrapper/buildlink3.mk | 18 ++++++++++++++++++
 SSVLuaWrapper/distinfo      |  6 ++++++
 5 files changed, 71 insertions(+)

diffs:
diff --git a/SSVLuaWrapper/DESCR b/SSVLuaWrapper/DESCR
new file mode 100644
index 0000000000..f6b202ff1e
--- /dev/null
+++ b/SSVLuaWrapper/DESCR
@@ -0,0 +1,3 @@
+A C++11 LUA wrapper written by Tomaka17.
+The original project is discontinued. This was created with the original
+code, removed the non-C++11 parts and formatted it.
diff --git a/SSVLuaWrapper/Makefile b/SSVLuaWrapper/Makefile
new file mode 100644
index 0000000000..dccf53b9ee
--- /dev/null
+++ b/SSVLuaWrapper/Makefile
@@ -0,0 +1,39 @@
+# $NetBSD$
+#
+
+# use date of commit as has no version only a tag
+
+DISTNAME=	SSVLuaWrapper
+PKGNAME=	${DISTNAME}-20130708
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=SuperV1234/}
+GITHUB_TAG=	ca905bddae86358182cf85eff2d0220ccdd785d0
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/SuperV1234/SSVLuaWrapper
+COMMENT=	C++11 LUA wrapper written by Tomaka17
+LICENSE=	afl-3.0
+
+USE_LANGUAGES=	c c++14
+USE_CMAKE=	yes
+
+LUA_VERSIONS_ACCEPTED=	51
+
+CMAKE_ARGS+=	-DLUA_LIBRARY=${PREFIX}/lib/liblua${LUA_VERSION_MAJOR}.${LUA_VERSION_MINOR}.so
+CMAKE_ARGS+=	-DLUA_INCLUDE_DIR=${PREFIX}/${LUA_INCDIR}
+CMAKE_ARGS+=	-DBUILD_SHARED_LIB:BOOL=OFF
+
+SUBST_CLASSES+=		include
+SUBST_STAGE.include=	post-configure
+SUBST_MESSAGE.include=	Fixing hardcoded path
+SUBST_FILES.include=	include/SSVLuaWrapper/LuaContext/LuaContext.h
+SUBST_SED.include=	-e 's,lua5.1,lua-${LUA_VERSION_MAJOR}.${LUA_VERSION_MINOR},'
+
+INSTALLATION_DIRS+=	include/${PKGBASE} lib/cmake/${PKGBASE}
+
+post-install:
+	${INSTALL_LIB} ${WRKSRC}/cmake/modules/Find${PKGBASE}.cmake \
+		${DESTDIR}${PREFIX}/lib/cmake/${PKGBASE}
+
+.include "../../lang/lua/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/SSVLuaWrapper/PLIST b/SSVLuaWrapper/PLIST
new file mode 100644
index 0000000000..2d41f75879
--- /dev/null
+++ b/SSVLuaWrapper/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD$
+include/SSVLuaWrapper/LuaContext/LuaContext.h
+include/SSVLuaWrapper/SSVLuaWrapper.h
+lib/cmake/SSVLuaWrapper/FindSSVLuaWrapper.cmake
+lib/libSSVLuaWrapper-s.a
diff --git a/SSVLuaWrapper/buildlink3.mk b/SSVLuaWrapper/buildlink3.mk
new file mode 100644
index 0000000000..f7a3d452ef
--- /dev/null
+++ b/SSVLuaWrapper/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	SSVLuaWrapper
+
+.if !defined(SSVLUAWRAPPER_BUILDLINK3_MK)
+SSVLUAWRAPPER_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.SSVLuaWrapper+=	SSVLuaWrapper>=20130708
+BUILDLINK_PKGSRCDIR.SSVLuaWrapper?=	../../wip/SSVLuaWrapper
+
+SSVLUAWRAPPER_MODULE=	${PREFIX}/lib/cmake/SSVLuaWrapper
+
+LUA_VERSIONS_ACCEPTED=	51
+.include <../../lang/lua/buildlink3.mk>
+
+.endif	# SSVLUAWRAPPER_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-SSVLuaWrapper
diff --git a/SSVLuaWrapper/distinfo b/SSVLuaWrapper/distinfo
new file mode 100644
index 0000000000..afc710f79b
--- /dev/null
+++ b/SSVLuaWrapper/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (SSVLuaWrapper-ca905bddae86358182cf85eff2d0220ccdd785d0.tar.gz) = 095585d544f693db3e59b30f08752de44eeef9db
+RMD160 (SSVLuaWrapper-ca905bddae86358182cf85eff2d0220ccdd785d0.tar.gz) = 8f55374360b2874ac2f85db45e52dee035549750
+SHA512 (SSVLuaWrapper-ca905bddae86358182cf85eff2d0220ccdd785d0.tar.gz) = 4bc3180232f73acaa2cc02ebd4bf86b1971ea4dfad04e22e7ea49b983e99e580720c2e6250969c8b7dfd76738a987074f9dd60c352dd38b3755007c83127760a
+Size (SSVLuaWrapper-ca905bddae86358182cf85eff2d0220ccdd785d0.tar.gz) = 20005 bytes


Home | Main Index | Thread Index | Old Index