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

Contents of /net-analyzer/goaccess/goaccess-0.5-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Jan 17 07:38:43 2013 UTC (7 years ago) by pinkbyte
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +4 -3 lines
Fix improper USE-flag handling in src_configure. Thanks to Nikoli for discovering this issue

(Portage version: 2.2.0_alpha153/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2013 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.5-r1.ebuild,v 1.1 2013/01/15 11:32:30 pinkbyte 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 src_prepare() {
29 # respect CFLAGS, bug #451806
30 sed -i -e '/AM_CFLAGS/s/-g//' Makefile.am || die 'sed failed'
31 autotools-utils_src_prepare
32 }
33
34 src_configure() {
35 # configure does not properly recognise '--disable-something'
36 local myeconfargs=(
37 $(usex geoip '--enable-geoip' '' '' '')
38 $(usex unicode '--enable-utf8' '' '' '')
39 )
40 autotools-utils_src_configure
41 }
42
43 src_compile() {
44 autotools-utils_src_compile CFLAGS="${CFLAGS}"
45 }

  ViewVC Help
Powered by ViewVC 1.1.20