summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www-servers/mongoose/Manifest1
-rw-r--r--www-servers/mongoose/mongoose-5.6.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/www-servers/mongoose/Manifest b/www-servers/mongoose/Manifest
index 7c98b12c217a..cad9ee7313dc 100644
--- a/www-servers/mongoose/Manifest
+++ b/www-servers/mongoose/Manifest
@@ -1 +1,2 @@
DIST mongoose-5.3.zip 124529 SHA256 9807751a888c7c32008d3ecf3c90d7ddff1469139b07a14e27e2f54874250bd7 SHA512 eb2f5de1bfb7e2314b64a695f579145644ff84c68b886fdd7f1adab40308a468438416799359788d36cc735b06cbb89b402938ed07ac3d4e40fa02c0a859fcd9 WHIRLPOOL 5cf2183d372d8a8117e7411d98242332a04e97f7d39d0186f74fa7925e1e22a9caf83a35eb08772809cc6c280d7270826edca2c13d12cddfce930bf6e2a10c3f
+DIST mongoose-5.6.tar.gz 114392 SHA256 cc2557c7cf9f15e1e691f285a4c6c705cc7e56cb70c64cb49703a428a0677065 SHA512 528d3bdabcf34358754c4d8969d0300c26e80df07e670ff5eec514bbb5357003401811e12585e1cf319b17be402be3148f26ca9c86bed45acb7c21143f34842f WHIRLPOOL 7a8e2d4f0f058f95aa311e2e521dfdc362a1b9c02c270e5b28ba16fa3d7fbb6d3e44103e22810849daaea7c34eef0fb3a4d33fc4b4fdb8ecdadc2f7d7893bc79
diff --git a/www-servers/mongoose/mongoose-5.6.ebuild b/www-servers/mongoose/mongoose-5.6.ebuild
new file mode 100644
index 000000000000..0878b98a5548
--- /dev/null
+++ b/www-servers/mongoose/mongoose-5.6.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="easy to use web server"
+SRC_URI="https://github.com/cesanta/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="https://code.google.com/p/${PN}/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~amd64-linux ~x86 ~arm-linux ~x86-linux"
+IUSE=""
+
+RDEPEND=""
+DEPEND=""
+
+S=${WORKDIR}/${P}/examples/web_server
+
+src_prepare() {
+ eapply_user
+ sed -e "s|-g -O0 ||" -i Makefile || die
+}
+
+src_compile() {
+ tc-export CC
+ emake CFLAGS_EXTRA="${CFLAGS}" web_server
+}
+
+src_install() {
+ newbin "${S}/web_server" "${PN}"
+ dodoc ../../README.md
+}