diff options
Diffstat (limited to 'www-apps/webmcp')
-rw-r--r-- | www-apps/webmcp/Manifest | 3 | ||||
-rw-r--r-- | www-apps/webmcp/files/webmcp-2.2.1-gentoo.patch | 18 | ||||
-rw-r--r-- | www-apps/webmcp/webmcp-2.2.1.ebuild | 47 |
3 files changed, 68 insertions, 0 deletions
diff --git a/www-apps/webmcp/Manifest b/www-apps/webmcp/Manifest index 3e1b31bd93f3..05b43230728e 100644 --- a/www-apps/webmcp/Manifest +++ b/www-apps/webmcp/Manifest @@ -1,8 +1,11 @@ AUX webmcp-1.2.6-gentoo.patch 5156 BLAKE2B 4d0680753a83422483c33909b692bc6a0fdd146216889aa83e6a9b99a15bf92920913330de12f2e2125b976214753ec4853b7dd48dabf8c2a0c88fb9b7d1ada5 SHA512 7e57b4f5f32f280198e8c6e01c21ed1414af3bf87a77022af37e3d144576a7d23c9f912e7f41282ef6d984f4323af1dbdda472cfe076fc62a6ee1a47d0529a7c AUX webmcp-2.1.0-c99.patch 828 BLAKE2B 722b72202b86efa1b42f6d79294c321b60de7fe0ce6dbd6ae6935ff9fb49051f227fdc311105ddc0b557bdd8f200a411a423d2b460fcd3a1d14003ffb764bcfe SHA512 b76419095184cc54ec8b51f4a79a54c7fe20d241bfb3f3425bc9d4fd51126945eb7e8aef2e60450762c2d781876605060f365b264d7b08ec17fd2a0cd3d64d15 AUX webmcp-2.1.0-gentoo.patch 2626 BLAKE2B 1e4de0384fcc8b991dcaa919f7cf1f7b10372acd8f769932453a8b0a54dbe272cd523ab2e5ec79080b43007035d25b015322a3559a5702a25f17bc70082187fe SHA512 ba437773d999029fd856c918e0d0f413d15ac082eda2114e0d8e3e971b6bb5d282117fe1a7fcca3def0fb8472cf3e97dc9421031c65d8c8235e9ece7f731293f +AUX webmcp-2.2.1-gentoo.patch 369 BLAKE2B 042c4baf083422dcad7df04557fd7a92da09f87e14c3438d11029b73b66b73b43f36478db5b4bf1e4969aa4e5d09958569307379862f801a341123dd3874ab61 SHA512 8d4fd294afcec557816fb6c4cb65a38304cf105722471e2afb1a6c634e9843f47a027273e55a1cbc02b5aeba66aa81f9c2ca4223cca2bfd74a3fb73925890ab0 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 EBUILD webmcp-1.2.6-r1.ebuild 1695 BLAKE2B dd9696e9a89459709ad4ef2ad4cb8a22494d03936e03039fba66ed91ccbdb4eb9398fc37e9b30818fbca27b5ae976e1bfca3517d9af0701a3ada210149554566 SHA512 015dafc6e31fe5e40f0a26915f4bedb329de4e27e23b4c922a98deb8babc8c38899d5ee098e85a64bdcf99406ba1bfaab4e0594b7a2cab30451b02b8392a4629 EBUILD webmcp-2.1.0-r1.ebuild 943 BLAKE2B e40ccd2ef223bc624bc95ba313301148b3fbb2481736b441883d3094c6f9aa186389b3e304bed7a293e920e511355c0ea7cc18c1e60d0a54ef13714de118222b SHA512 a751e78a71a8705889a228c6a559e032fd7459cc00a68975fa63ffef95ffe2d6e154ec717fe0827f8dfb71029e247d766865a2c492eec35842f33d8993faf0e0 +EBUILD webmcp-2.2.1.ebuild 974 BLAKE2B a8c56801ae4036e7cc6e6e365b8fed5db6b02386f7b09fa662af864697db4c19d07267b86228e871b91f51c4bccb7771fbec6a18f9556ea321aac15a602cdaed SHA512 57f557136a7fcbd9dbd8ddc98d7757aaa746804ebd5dd73e5f33996491b39e594bed37677840780e0508098ae2c3ffd0bdd012cef4e1e75239debf9c8f6838b3 MISC metadata.xml 822 BLAKE2B d4185bca14b98a89070c71dd10078c9761fdc9d7702d775ddbbb76bda95a20f9b71e24db7d7d6bc669863288a70187caa30bd3e75048a0c43ccce9fc52bcf852 SHA512 616c36db4b5aed1c6a6d28cd57c430c38c67736b8a0559b933bbb4917efbb21b63c5cb0aaa5292ca5292db9d646f69159ab0380298e802f0366919660e634ac4 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/* +} |