summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-apache/mod_loadavg/mod_loadavg-0.0.1.ebuild')
-rw-r--r--www-apache/mod_loadavg/mod_loadavg-0.0.1.ebuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/www-apache/mod_loadavg/mod_loadavg-0.0.1.ebuild b/www-apache/mod_loadavg/mod_loadavg-0.0.1.ebuild
new file mode 100644
index 000000000000..568fe0fcde3c
--- /dev/null
+++ b/www-apache/mod_loadavg/mod_loadavg-0.0.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit apache-module eutils
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="Apache module executing CGI-Requests depending on the load of the server"
+HOMEPAGE="http://defunced.de/"
+SRC_URI="mirror://gentoo/${P}.c"
+LICENSE="Apache-1.1"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+APACHE2_MOD_CONF="10_${PN}"
+APACHE2_MOD_DEFINE="LOADAVG"
+
+need_apache2_2
+
+src_unpack() {
+ mkdir -p "${S}" || die "mkdir S failed"
+ cp -f "${DISTDIR}/${P}.c" "${S}/${PN}.c" || die "source copy failed"
+}