blob: 7c83865d6b75bb218a4cc99c96b16db67b8798c5 (
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
40
41
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit apache-module
DESCRIPTION="Alternative way of using Python for dynamic web content."
HOMEPAGE="http://mod-npy.sourceforge.net/"
LICENSE="ZLIB"
SRC_URI="mirror://sourceforge/mod-npy/${P}.tar.bz2"
KEYWORDS="~amd64 ~x86"
IUSE="profile"
SLOT="0"
# See apache-module.eclass for more information.
# APACHE2_MOD_CONF=""
# APACHE2_MOD_DEFINE=""
need_apache2
src_compile() {
local myconf=
use profile && myconf="${myconf} --enable-profile"
econf ${myconf} || die "econf failed"
emake || die "emake failed"
}
src_install() {
apache2_src_install
insinto ${APACHE2_MODULES_CONFDIR}
doins "${S}/conf/99_mod_npy.conf"
dodoc "${S}/ChangeLog"
}
|