summaryrefslogtreecommitdiff
blob: 1b7de62c0747bb77aaa5e105f8856f68dedff852 (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit apache-module

DESCRIPTION="Apache Module that manages the parsing of memcached server
configuration"
HOMEPAGE="http://code.google.com/p/modmemcache/"
LICENSE="Apache-2.0"
SRC_URI="http://modmemcache.googlecode.com/files/${P}.tar.gz"

KEYWORDS="~x86 ~amd64"
IUSE=""
SLOT="0"

DEPEND="dev-libs/apr_memcache"
RDEPEND="${DEPEND}"

# See apache-module.eclass for more information.
APACHE2_MOD_CONF="50_${PN}"

DOCFILES="README"

src_compile() {
	econf --with-apxs=${APXS} || die "econf failed"
	emake || die "emake failed"
}

src_install() {
	apache-module_src_install
	insinto /usr/include
	doins src/${PN}.h
}

need_apache2