/[gentoo-x86]/net-analyzer/goaccess/goaccess-0.6.1.ebuild
Gentoo

Contents of /net-analyzer/goaccess/goaccess-0.6.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Nov 22 12:34:41 2014 UTC (5 years, 2 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +6 -7 lines
Fix building against sys-libs/ncurses[tinfo] (bug #528364).

(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key A792A613)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/goaccess/goaccess-0.6.1.ebuild,v 1.1 2013/11/24 15:01:18 hwoarang Exp $
4
5 EAPI=5
6
7 AUTOTOOLS_AUTORECONF=1
8 inherit autotools-utils
9
10 DESCRIPTION="A real-time Apache log analyzer and interactive viewer that runs in a terminal"
11 HOMEPAGE="http://goaccess.prosoftcorp.com"
12 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="~amd64 ~x86 ~amd64-linux"
17 IUSE="geoip unicode"
18
19 RDEPEND="
20 dev-libs/glib:2
21 sys-libs/ncurses[unicode?]
22 geoip? ( dev-libs/geoip )
23 "
24 DEPEND="${RDEPEND}
25 virtual/pkgconfig
26 "
27
28 PATCHES=(
29 "${FILESDIR}"/${P}-CFLAGS.patch
30 "${FILESDIR}"/${P}-tinfo.patch
31 )
32
33 src_configure() {
34 # configure does not properly recognise '--disable-something'
35 local myeconfargs=(
36 $(usex geoip '--enable-geoip' '' '' '')
37 $(usex unicode '--enable-utf8' '' '' '')
38 )
39 autotools-utils_src_configure
40 }
41
42 src_compile() {
43 autotools-utils_src_compile CFLAGS="${CFLAGS}"
44 }

  ViewVC Help
Powered by ViewVC 1.1.20