blob: 839da53d1d1199abb8ab36eebb35110d662038aa (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-www/mod_layout/mod_layout-4.0.1a.ebuild,v 1.8 2005/07/10 00:56:41 swegener Exp $
inherit eutils
DESCRIPTION="An Apache2 DSO module for adding custom headers and/or footers"
HOMEPAGE="http://software.tangent.org/"
SRC_URI="http://software.tangent.org/download/${P}.tar.gz"
DEPEND="=net-www/apache-2*"
LICENSE="Apache-1.1"
KEYWORDS="x86 ppc"
IUSE=""
SLOT="0"
src_unpack() {
unpack ${A} || die; cd ${S} || die
epatch ${FILESDIR}/mod_layout-4.0.1a-register.patch
}
src_compile() {
apxs2 -c mod_layout.c utility.c layout.c || die
}
src_install() {
exeinto /usr/lib/apache2-extramodules
doexe .libs/${PN}.so
insinto /etc/apache2/conf/modules.d
doins ${FILESDIR}/15_mod_layout.conf
dodoc ${FILESDIR}/15_mod_layout.conf
#thats all the docs there is right now!
}
|