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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Apr 29 22:47:56 2015 UTC (4 years, 8 months ago) by idella4
Branch: MAIN
CVS Tags: HEAD
bump; adjust metadata.xml to accommodate changed flag, ebuild supplied by proxy maintainer in bug #530112

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI="5"
6
7 inherit eutils
8
9 DESCRIPTION="A real-time web log analyzer and interactive viewer that runs in a terminal"
10 HOMEPAGE="http://goaccess.io"
11 SRC_URI="http://tar.goaccess.io/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86 ~amd64-linux"
16
17 IUSE="btree debug geoip tokyocabinet unicode"
18
19 REQUIRED_USE="btree? ( tokyocabinet )"
20
21 RDEPEND="
22 sys-libs/ncurses[unicode?]
23 geoip? ( dev-libs/geoip )
24 !tokyocabinet? ( dev-libs/glib:2 )
25 tokyocabinet? (
26 dev-db/tokyocabinet
27 btree? (
28 app-arch/bzip2
29 sys-libs/zlib
30 )
31 )
32 "
33 DEPEND="${RDEPEND}
34 virtual/pkgconfig
35 "
36
37 src_prepare() {
38 epatch_user
39
40 # Fix path to GeoIP bases in config
41 sed -e s':/usr/local:/usr:' -i config/goaccess.conf || die
42 }
43
44 src_configure() {
45 econf \
46 $(use_enable debug) \
47 $(use_enable geoip) \
48 $(use_enable unicode utf8) \
49 $(use_enable tokyocabinet tcb) \
50 $(use_enable btree bzip) \
51 $(use_enable btree zlib) \
52 $(usex tokyocabinet "--enable-tcb=$(usex btree btree memhash)" '')
53 }

  ViewVC Help
Powered by ViewVC 1.1.20