/[gentoo-x86]/net-analyzer/squidsites/squidsites-1.01-r2.ebuild
Gentoo

Contents of /net-analyzer/squidsites/squidsites-1.01-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Thu Jul 17 15:22:23 2014 UTC (5 years, 8 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
EAPI bump. Add format to fprintf.

(Portage version: 2.2.10/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key A792A613)

1 jer 1.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/squidsites/squidsites-1.01-r1.ebuild,v 1.5 2013/11/06 03:58:26 patrick Exp $
4    
5     EAPI=5
6    
7     inherit eutils toolchain-funcs
8    
9     DESCRIPTION="A tool that parses Squid access log file and generates a report of the most visited sites"
10     LICENSE="GPL-2"
11     HOMEPAGE="http://www.stefanopassiglia.com/misc.htm"
12     SRC_URI="http://www.stefanopassiglia.com/downloads/${P}.tar.gz"
13     SLOT="1"
14     KEYWORDS="amd64 ppc x86"
15    
16     S="${WORKDIR}/src"
17    
18     src_prepare() {
19     # Respect CFLAGS
20     sed -i Makefile \
21     -e '/^CCFLAGS=/s|-g| $(CFLAGS) $(LDFLAGS)|' \
22     || die
23     epatch "${FILESDIR}"/${P}-format-security.patch
24     }
25    
26     src_compile() {
27     emake CC="$(tc-getCC)"
28     }
29    
30     src_install () {
31     cd "${WORKDIR}" || die
32     dobin src/squidsites
33     dodoc Authors Bugs ChangeLog GNU-Manifesto.html README
34     }

  ViewVC Help
Powered by ViewVC 1.1.20