/[gentoo-x86]/www-apache/mod_geoip2/mod_geoip2-1.2.7-r1.ebuild
Gentoo

Contents of /www-apache/mod_geoip2/mod_geoip2-1.2.7-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Jan 3 19:15:55 2013 UTC (7 years ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Apply fedora patch to fix apache 2.4 compat

(Portage version: 2.1.11.38/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/www-apache/mod_geoip2/mod_geoip2-1.2.7.ebuild,v 1.2 2012/10/12 09:27:15 patrick Exp $
4
5 inherit apache-module eutils
6
7 MY_P="${PN}_${PV}"
8 MY_PN="${PN/2}"
9
10 DESCRIPTION="Apache 2.x module for finding the country and city
11 that a web request originated from"
12 HOMEPAGE="http://www.maxmind.com/app/mod_geoip"
13 SRC_URI="http://geolite.maxmind.com/download/geoip/api/mod_geoip2/${MY_P}.tar.gz"
14 LICENSE="Apache-1.1"
15
16 KEYWORDS="~x86 ~amd64"
17 IUSE=""
18 SLOT="0"
19
20 DEPEND=">=dev-libs/geoip-1.4.8"
21 RDEPEND="${DEPEND}"
22
23 S="${WORKDIR}/${MY_P}"
24
25 # See apache-module.eclass for more information.
26 APACHE2_MOD_CONF="30_${PN}"
27 APACHE2_MOD_FILE="${S}/.libs/${MY_PN}.so"
28 APXS2_ARGS="-l GeoIP -c ${MY_PN}.c"
29 DOCFILES="INSTALL README README.php Changes"
30
31 need_apache2
32
33 src_unpack() {
34 unpack ${A} && cd "${S}"
35 epatch "${FILESDIR}/${P}-httpd24.patch"
36 }

  ViewVC Help
Powered by ViewVC 1.1.20