summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-01-21 14:56:11 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-01-21 14:56:11 +0000
commit0fad1381e00015b1f3f7287ba451c4efbabb116f (patch)
treed087c2f2e5276284456fcde9fd67d77ec9bd8eda /net-analyzer/squidsites
parentMarked ~hppa (bug #205645). (diff)
downloadgentoo-2-0fad1381e00015b1f3f7287ba451c4efbabb116f.tar.gz
gentoo-2-0fad1381e00015b1f3f7287ba451c4efbabb116f.tar.bz2
gentoo-2-0fad1381e00015b1f3f7287ba451c4efbabb116f.zip
Fix ebuild, fix HOMEPAGE
(Portage version: 2.1.4)
Diffstat (limited to 'net-analyzer/squidsites')
-rw-r--r--net-analyzer/squidsites/ChangeLog7
-rw-r--r--net-analyzer/squidsites/squidsites-1.01.ebuild28
2 files changed, 25 insertions, 10 deletions
diff --git a/net-analyzer/squidsites/ChangeLog b/net-analyzer/squidsites/ChangeLog
index 830c3897e328..a7260464b60c 100644
--- a/net-analyzer/squidsites/ChangeLog
+++ b/net-analyzer/squidsites/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-analyzer/squidsites
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/squidsites/ChangeLog,v 1.10 2007/02/20 00:33:19 jokey Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/squidsites/ChangeLog,v 1.11 2008/01/21 14:56:11 armin76 Exp $
+
+ 21 Jan 2008; Raúl Porcel <armin76@gentoo.org> squidsites-1.01.ebuild:
+ Fix ebuild, fix HOMEPAGE
20 Feb 2007; Markus Ullmann <jokey@gentoo.org> ChangeLog:
Redigest for Manifest2
diff --git a/net-analyzer/squidsites/squidsites-1.01.ebuild b/net-analyzer/squidsites/squidsites-1.01.ebuild
index 02e524ad2a19..8c992d44a2c5 100644
--- a/net-analyzer/squidsites/squidsites-1.01.ebuild
+++ b/net-analyzer/squidsites/squidsites-1.01.ebuild
@@ -1,24 +1,36 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/squidsites/squidsites-1.01.ebuild,v 1.6 2006/09/06 13:10:48 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/squidsites/squidsites-1.01.ebuild,v 1.7 2008/01/21 14:56:11 armin76 Exp $
+
+inherit toolchain-funcs
IUSE=""
DESCRIPTION="Squidsites is a tool that parses Squid access log file and generates a report of the most visited sites."
-HOMEPAGE="http://www.stefanopassiglia.com/downloads.htm"
+HOMEPAGE="http://www.stefanopassiglia.com/misc.htm"
SRC_URI="http://www.stefanopassiglia.com/downloads/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="1"
KEYWORDS="~amd64 ppc x86"
-DEPEND="virtual/libc"
-RDEPEND="virtual/libc"
-S=${WORKDIR}/src
+
+DEPEND=""
+RDEPEND=""
+S="${WORKDIR}/src"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Respect CFLAGS
+ sed -i -e "s/CCFLAGS=-g -Wall/CCFLAGS=${CFLAGS}/g" Makefile \
+ || die "sed failed"
+}
src_compile() {
- emake || die
+ emake CC="$(tc-getCC)" || die "emake failed"
}
src_install () {
- cd ${WORKDIR}
+ cd "${WORKDIR}"
dobin src/squidsites
dodoc Authors Bugs ChangeLog GNU-Manifesto.html README
}