public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: www-apps/webmcp/, www-apps/webmcp/files/
@ 2021-04-18  8:37 Alfredo Tupone
  0 siblings, 0 replies; 2+ messages in thread
From: Alfredo Tupone @ 2021-04-18  8:37 UTC (permalink / raw
  To: gentoo-commits

commit:     b4cdd931abd6fac49bb1ca28fdedb7c5b5e7a763
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 18 08:37:17 2021 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Apr 18 08:37:17 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4cdd931

www-apps/webmcp: version bump to 2.1.0

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 www-apps/webmcp/Manifest                        |  1 +
 www-apps/webmcp/files/webmcp-2.1.0-gentoo.patch | 73 +++++++++++++++++++++++++
 www-apps/webmcp/webmcp-2.1.0.ebuild             | 42 ++++++++++++++
 3 files changed, 116 insertions(+)

diff --git a/www-apps/webmcp/Manifest b/www-apps/webmcp/Manifest
index a5d7a17c7d8..614c03a9f55 100644
--- a/www-apps/webmcp/Manifest
+++ b/www-apps/webmcp/Manifest
@@ -1 +1,2 @@
 DIST webmcp-v1.2.6.tar.gz 132283 BLAKE2B ed5539b91eeb809a1e19b98f2dc8888c055ec547c95c53c0ea9232531bf9b8432ba6a0ad566a1d2fecbdcc056a52e42e99b973741fc44f923ea88369393c5ade SHA512 a233c312f85851c690f9b020e5df1fffb548c708199279021f384a36cf6e2b73a9b7bc2343c886ccc0e18aecf6d205e2a699fa2398b9bf0da587bc4f8a8f8556
+DIST webmcp-v2.1.0.tar.gz 145388 BLAKE2B 233b21ccc2c6ebcd32b847ee49ddf9ced5c15b79a860b484c9e3ad088f9996e9bcc56b43c34a558d134157800f19a9b586c9dbcee3ba61a2252178d0cf6b7cd7 SHA512 6698fab9c23d2fb4122bd79659babbcfed8a98515764deb7fa1519abb3c3d783ccec6fd2f23fc947e5e95cafdd066dde4518eff885cc98f36008785fcc45677f

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 00000000000..90bf0992a60
--- /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 00000000000..4ee6ed52337
--- /dev/null
+++ b/www-apps/webmcp/webmcp-2.1.0.ebuild
@@ -0,0 +1,42 @@
+# 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}"
+
+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/*
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-apps/webmcp/, www-apps/webmcp/files/
@ 2023-12-28 21:04 Alfredo Tupone
  0 siblings, 0 replies; 2+ messages in thread
From: Alfredo Tupone @ 2023-12-28 21:04 UTC (permalink / raw
  To: gentoo-commits

commit:     1352c66d868589de6788315dc04d89d8a54306e5
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 28 20:21:24 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Dec 28 20:21:58 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1352c66d

www-apps/webmcp: add 2.2.1

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 www-apps/webmcp/Manifest                        |  1 +
 www-apps/webmcp/files/webmcp-2.2.1-gentoo.patch | 18 ++++++++++
 www-apps/webmcp/webmcp-2.2.1.ebuild             | 47 +++++++++++++++++++++++++
 3 files changed, 66 insertions(+)

diff --git a/www-apps/webmcp/Manifest b/www-apps/webmcp/Manifest
index 614c03a9f551..296175a21f4d 100644
--- a/www-apps/webmcp/Manifest
+++ b/www-apps/webmcp/Manifest
@@ -1,2 +1,3 @@
 DIST webmcp-v1.2.6.tar.gz 132283 BLAKE2B ed5539b91eeb809a1e19b98f2dc8888c055ec547c95c53c0ea9232531bf9b8432ba6a0ad566a1d2fecbdcc056a52e42e99b973741fc44f923ea88369393c5ade SHA512 a233c312f85851c690f9b020e5df1fffb548c708199279021f384a36cf6e2b73a9b7bc2343c886ccc0e18aecf6d205e2a699fa2398b9bf0da587bc4f8a8f8556
 DIST webmcp-v2.1.0.tar.gz 145388 BLAKE2B 233b21ccc2c6ebcd32b847ee49ddf9ced5c15b79a860b484c9e3ad088f9996e9bcc56b43c34a558d134157800f19a9b586c9dbcee3ba61a2252178d0cf6b7cd7 SHA512 6698fab9c23d2fb4122bd79659babbcfed8a98515764deb7fa1519abb3c3d783ccec6fd2f23fc947e5e95cafdd066dde4518eff885cc98f36008785fcc45677f
+DIST webmcp-v2.2.1.tar.gz 158068 BLAKE2B a1e1ef07aadbb5dc3ab93d993f2f9cff005c404f489ac0eae736f149a20d1376f9b1013ddbcdc831089fdd0d684693a9dbc01b5bdd52e65e814bb0fb9cd254cf SHA512 98b4eb41e312af5733ebb7cd20af7a721dc6392e5345b650706e9747c228ee0dccafbf0ed95c8ece400a80009d94f8e3c33537bbcdb393add915610570d170b8

diff --git a/www-apps/webmcp/files/webmcp-2.2.1-gentoo.patch b/www-apps/webmcp/files/webmcp-2.2.1-gentoo.patch
new file mode 100644
index 000000000000..5b86be64061d
--- /dev/null
+++ b/www-apps/webmcp/files/webmcp-2.2.1-gentoo.patch
@@ -0,0 +1,18 @@
+--- 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

diff --git a/www-apps/webmcp/webmcp-2.2.1.ebuild b/www-apps/webmcp/webmcp-2.2.1.ebuild
new file mode 100644
index 000000000000..86f9c7e0a333
--- /dev/null
+++ b/www-apps/webmcp/webmcp-2.2.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2023 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
+	https://dev.gentoo.org/~tupone/distfiles/${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)" \
+		SHAREDFLAGS="${LDFLAGS} -shared" \
+		LDFLAGS_PGSQL="-L `pg_config --libdir`" \
+		LUALIBS="$(lua_get_LIBS)"
+}
+
+src_install() {
+	insinto /usr/lib/${PN}
+	doins -r framework.precompiled/*
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-28 21:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-28 21:04 [gentoo-commits] repo/gentoo:master commit in: www-apps/webmcp/, www-apps/webmcp/files/ Alfredo Tupone
  -- strict thread matches above, loose matches on Subject: below --
2021-04-18  8:37 Alfredo Tupone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox