summaryrefslogtreecommitdiff
path: root/www-apps/webmcp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /www-apps/webmcp
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'www-apps/webmcp')
-rw-r--r--www-apps/webmcp/Manifest3
-rw-r--r--www-apps/webmcp/files/webmcp-2.1.0-gentoo.patch73
-rw-r--r--www-apps/webmcp/webmcp-2.1.0.ebuild44
3 files changed, 120 insertions, 0 deletions
diff --git a/www-apps/webmcp/Manifest b/www-apps/webmcp/Manifest
index dc4f69e4f547..74d778c53402 100644
--- a/www-apps/webmcp/Manifest
+++ b/www-apps/webmcp/Manifest
@@ -1,4 +1,7 @@
AUX webmcp-1.2.6-gentoo.patch 5156 BLAKE2B 4d0680753a83422483c33909b692bc6a0fdd146216889aa83e6a9b99a15bf92920913330de12f2e2125b976214753ec4853b7dd48dabf8c2a0c88fb9b7d1ada5 SHA512 7e57b4f5f32f280198e8c6e01c21ed1414af3bf87a77022af37e3d144576a7d23c9f912e7f41282ef6d984f4323af1dbdda472cfe076fc62a6ee1a47d0529a7c
+AUX webmcp-2.1.0-gentoo.patch 2626 BLAKE2B 1e4de0384fcc8b991dcaa919f7cf1f7b10372acd8f769932453a8b0a54dbe272cd523ab2e5ec79080b43007035d25b015322a3559a5702a25f17bc70082187fe SHA512 ba437773d999029fd856c918e0d0f413d15ac082eda2114e0d8e3e971b6bb5d282117fe1a7fcca3def0fb8472cf3e97dc9421031c65d8c8235e9ece7f731293f
DIST webmcp-v1.2.6.tar.gz 132283 BLAKE2B ed5539b91eeb809a1e19b98f2dc8888c055ec547c95c53c0ea9232531bf9b8432ba6a0ad566a1d2fecbdcc056a52e42e99b973741fc44f923ea88369393c5ade SHA512 a233c312f85851c690f9b020e5df1fffb548c708199279021f384a36cf6e2b73a9b7bc2343c886ccc0e18aecf6d205e2a699fa2398b9bf0da587bc4f8a8f8556
+DIST webmcp-v2.1.0.tar.gz 145388 BLAKE2B 233b21ccc2c6ebcd32b847ee49ddf9ced5c15b79a860b484c9e3ad088f9996e9bcc56b43c34a558d134157800f19a9b586c9dbcee3ba61a2252178d0cf6b7cd7 SHA512 6698fab9c23d2fb4122bd79659babbcfed8a98515764deb7fa1519abb3c3d783ccec6fd2f23fc947e5e95cafdd066dde4518eff885cc98f36008785fcc45677f
EBUILD webmcp-1.2.6-r1.ebuild 1685 BLAKE2B f19c420e563f36047cd653ef74f442986112dd361d2e9f836747857c01484e801a9c42433862cdb32b82bddd6b1d3c3ecf8d3c33e83eeec81cb53e6cf6d5e1ec SHA512 0f62e6c94ad104e0b57925cb0f471f70af7e42a860a9a384c0ece2a21f7b3c0aa05423655f1562bce21eb0e0402c31d370d68283260dd19c15b652dd235cf720
+EBUILD webmcp-2.1.0.ebuild 912 BLAKE2B 8acc99354405d7f01d5a5c25f2364a009966cd813aab16ce54ad8a94e11421fe33b69473fed0712fc76f66f011324eaa77a6eb34a8081d1785bbd40e03cc4003 SHA512 2f67a75f82536371d50e7bdf3fa9ffd737c90299e24be9b79257ade10b8b3da500fa3b25f8757d0515132d3c08a5bb207ad5dd18e407aafe72cf819d0d444800
MISC metadata.xml 821 BLAKE2B a116a4db4b1be4a6a860805b866e735633b1ee8031cc0750e9843c201fe5b1d36657f845d0e9fc1e3871ab091601b85996b4ebd5b224ea1fa6139ffc0e6fd8a2 SHA512 68b0741c84f5a93b26b89e56093b9554727ef375ed77e189cdeb62e12dc0a1b8506b56885be46c637e03b388830467eeac3f11511f49668d74dd36ff15f380e8
diff --git a/www-apps/webmcp/files/webmcp-2.1.0-gentoo.patch b/www-apps/webmcp/files/webmcp-2.1.0-gentoo.patch
new file mode 100644
index 000000000000..90bf0992a608
--- /dev/null
+++ b/www-apps/webmcp/files/webmcp-2.1.0-gentoo.patch
@@ -0,0 +1,73 @@
+--- a/Makefile 2021-04-17 13:46:36.321270501 +0200
++++ b/Makefile 2021-04-17 13:47:26.019424556 +0200
+@@ -2,10 +2,10 @@
+
+ all::
+- make documentation
+- make accelerator
+- make libraries
+- make symlinks
+- make precompile
++ $(MAKE) documentation
++ $(MAKE) accelerator
++ $(MAKE) libraries
++ $(MAKE) symlinks
++ $(MAKE) precompile
+
+ documentation::
+ rm -f doc/autodoc.tmp
+--- a/libraries/extos/Makefile 2013-03-13 21:49:19.710360750 +0100
++++ b/libraries/extos/Makefile 2013-03-13 21:49:47.778096460 +0100
+@@ -1,7 +1,7 @@
+ include ../../Makefile.options
+
+ extos.so: extos.o
+- $(LD) $(LDFLAGS) -lrt -lcrypt -o extos.$(SLIB_EXT) extos.o
++ $(LD) $(LDFLAGS) -o extos.$(SLIB_EXT) extos.o -lrt -lcrypt $(LUALIBS)
+
+ extos.o: extos.c
+ $(CC) -c $(CFLAGS) -o extos.o extos.c
+--- a/libraries/json/Makefile 2021-04-17 16:57:48.351876836 +0200
++++ b/libraries/json/Makefile 2021-04-17 16:58:27.806190853 +0200
+@@ -1,7 +1,7 @@
+ include ../../Makefile.options
+
+ json.so: json.o
+- $(LD) $(LDFLAGS) -o json.$(SLIB_EXT) json.o
++ $(LD) $(LDFLAGS) -o json.$(SLIB_EXT) json.o $(LUALIBS)
+
+ json.o: json.c
+ $(CC) -c $(CFLAGS) -o json.o json.c
+--- a/libraries/mondelefant/Makefile 2013-03-13 21:52:54.884250479 +0100
++++ b/libraries/mondelefant/Makefile 2013-03-13 21:53:27.511932686 +0100
+@@ -1,7 +1,7 @@
+ include ../../Makefile.options
+
+ mondelefant_native.so: mondelefant_native.o
+- $(LD) $(LDFLAGS) $(LDFLAGS_PGSQL) -o mondelefant_native.$(SLIB_EXT) mondelefant_native.o -lpq
++ $(LD) $(LDFLAGS) $(LDFLAGS_PGSQL) -o mondelefant_native.$(SLIB_EXT) mondelefant_native.o -lpq $(LUALIBS)
+
+ mondelefant_native.o: mondelefant_native.c
+ $(CC) -c $(CFLAGS) $(CFLAGS_PGSQL) -o mondelefant_native.o mondelefant_native.c
+--- a/libraries/multirand/Makefile 2013-03-13 21:54:29.399328173 +0100
++++ b/libraries/multirand/Makefile 2013-03-13 21:54:58.019048434 +0100
+@@ -1,7 +1,7 @@
+ include ../../Makefile.options
+
+ multirand.so: multirand.o
+- $(LD) $(LDFLAGS) -o multirand.$(SLIB_EXT) multirand.o
++ $(LD) $(LDFLAGS) -o multirand.$(SLIB_EXT) multirand.o $(LUALIBS)
+
+ multirand.o: multirand.c
+ $(CC) -c $(CFLAGS) -o multirand.o multirand.c
+--- a/framework/accelerator/Makefile 2021-04-17 18:36:56.402722612 +0200
++++ b/framework/accelerator/Makefile 2021-04-17 18:37:08.605513867 +0200
+@@ -1,7 +1,7 @@
+ include ../../Makefile.options
+
+ webmcp_accelerator.so: webmcp_accelerator.o
+- $(LD) $(LDFLAGS) -o webmcp_accelerator.$(SLIB_EXT) webmcp_accelerator.o
++ $(LD) $(LDFLAGS) -o webmcp_accelerator.$(SLIB_EXT) webmcp_accelerator.o $(LUALIBS)
+
+ webmcp_accelerator.o: webmcp_accelerator.c
+ $(CC) -c $(CFLAGS) -o webmcp_accelerator.o webmcp_accelerator.c
diff --git a/www-apps/webmcp/webmcp-2.1.0.ebuild b/www-apps/webmcp/webmcp-2.1.0.ebuild
new file mode 100644
index 000000000000..832a99224e46
--- /dev/null
+++ b/www-apps/webmcp/webmcp-2.1.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+LUA_COMPAT=( lua5-{2,3} )
+
+inherit lua-single toolchain-funcs
+
+MY_P=${PN}-v${PV}
+DESCRIPTION="Web application framework written in Lua and C"
+HOMEPAGE="https://www.public-software-group.org/webmcp"
+SRC_URI="https://www.public-software-group.org/pub/projects/${PN}/v${PV}/${MY_P}.tar.gz"
+
+LICENSE="HPND"
+KEYWORDS="~amd64"
+SLOT=0
+
+RDEPEND="
+ ${LUA_DEPS}
+ dev-db/postgresql:=
+"
+DEPEND="${RDEPEND}"
+
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+S="${WORKDIR}"/${MY_P}
+
+PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
+
+src_compile() {
+ emake CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS} \
+ $(lua_get_CFLAGS) -fPIC" \
+ LD="$(tc-getCC)" \
+ LDFLAGS="${LDFLAGS} -shared" \
+ LDFLAGS_PGSQL="-L `pg_config --libdir`" \
+ LUALIBS="$(lua_get_LIBS)"
+}
+
+src_install() {
+ insinto /usr/lib/${PN}
+ doins -r framework.precompiled/*
+}