diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2021-04-18 10:37:17 +0200 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2021-04-18 10:37:17 +0200 |
commit | b4cdd931abd6fac49bb1ca28fdedb7c5b5e7a763 (patch) | |
tree | 243f8c07dd31c3cae633a675a7f05c2db3ad6992 /www-apps/webmcp | |
parent | www-servers/moonbridge: web server for lua application (diff) | |
download | gentoo-b4cdd931abd6fac49bb1ca28fdedb7c5b5e7a763.tar.gz gentoo-b4cdd931abd6fac49bb1ca28fdedb7c5b5e7a763.tar.bz2 gentoo-b4cdd931abd6fac49bb1ca28fdedb7c5b5e7a763.zip |
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@gentoo.org>
Diffstat (limited to 'www-apps/webmcp')
-rw-r--r-- | www-apps/webmcp/Manifest | 1 | ||||
-rw-r--r-- | www-apps/webmcp/files/webmcp-2.1.0-gentoo.patch | 73 | ||||
-rw-r--r-- | www-apps/webmcp/webmcp-2.1.0.ebuild | 42 |
3 files changed, 116 insertions, 0 deletions
diff --git a/www-apps/webmcp/Manifest b/www-apps/webmcp/Manifest index a5d7a17c7d83..614c03a9f551 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 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..4ee6ed523375 --- /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/* +} |