summaryrefslogtreecommitdiff
blob: 7f198a1746b1e91ca8fca2d25c5f50467ee259c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_depends/mod_depends-0.7.0_p200508161.ebuild,v 1.2 2005/08/16 06:43:46 trapni Exp $

inherit eutils apache-module

DESCRIPTION="Sets the Unix umask of the Apache HTTPd process after it has started."
SRC_URI="http://www.apache.org/~pquerna/modules/${P}.tar.gz"
HOMEPAGE="http://www.outoforder.cc/projects/apache/mod_depends/"

SLOT="0"
LICENSE="Apache-2.0"
KEYWORDS="~x86 ~amd64"
IUSE=""

APACHE2_MOD_CONF="09_${PN}"
APACHE2_MOD_DEFINE="DEPENDS"

S="${WORKDIR}/${PN}"

need_apache2

src_compile() {
	cd ${S} || die

	econf --with-apxs="${APXS2}" || die "configure failed"

	emake || die "make failed"
}

src_install() {
	cd ${S} || die

	mv -v src/.libs/{lib,}mod_depends.so

	apache-module_src_install
}

# vim:ts=4