summaryrefslogtreecommitdiff
path: root/www-apache
diff options
context:
space:
mode:
Diffstat (limited to 'www-apache')
-rw-r--r--www-apache/mod_virtualvalue/mod_virtualvalue-0.4.2.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/www-apache/mod_virtualvalue/mod_virtualvalue-0.4.2.ebuild b/www-apache/mod_virtualvalue/mod_virtualvalue-0.4.2.ebuild
new file mode 100644
index 00000000..5196a6f3
--- /dev/null
+++ b/www-apache/mod_virtualvalue/mod_virtualvalue-0.4.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit apache-module eutils toolchain-funcs git-r3
+
+DESCRIPTION="Apache2 modules to Mass Virtual Hosting"
+HOMEPAGE="http://git.pants-on.net/cgit.cgi/mod_virtualvalue.git"
+EGIT_REPO_URI="git://git.pants-on.net/srv/git/mod_virtualvalue.git"
+EGIT_COMMIT="v${PV}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="php debug"
+
+DEPEND="php? ( dev-lang/php:=[apache2] )"
+RDEPEND="${DEPEND}"
+
+#APACHE2_MOD_CONF="10_${PN}"
+APACHE2_MOD_FILE="${S}/${PN}.so"
+
+DOCFILES="BUGS TODO test/vhost.conf"
+
+need_apache2
+
+src_compile() {
+ local myconf=
+ use php && myconf="${myconf} HAVE_PHP=Yes"
+ use debug && myconf="${myconf} DEBUG=Yes"
+
+ emake CC="$(tc-getCC)" LDFLAGS= V=1 ${myconf}
+}