summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDawid Węgliński <cla@gentoo.org>2009-03-08 10:48:10 +0000
committerDawid Węgliński <cla@gentoo.org>2009-03-08 10:48:10 +0000
commit314906de4d4ac92aa2f7c9c692120ff732223b59 (patch)
tree32627a61d2aa64c47d16190c0cf5e05c8adb6fcd /net-analyzer/squid-graph
parentPrevent double emake (diff)
downloadgentoo-2-314906de4d4ac92aa2f7c9c692120ff732223b59.tar.gz
gentoo-2-314906de4d4ac92aa2f7c9c692120ff732223b59.tar.bz2
gentoo-2-314906de4d4ac92aa2f7c9c692120ff732223b59.zip
Migrate to EAPI 2
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/squid-graph')
-rw-r--r--net-analyzer/squid-graph/ChangeLog7
-rw-r--r--net-analyzer/squid-graph/squid-graph-3.2.ebuild15
2 files changed, 10 insertions, 12 deletions
diff --git a/net-analyzer/squid-graph/ChangeLog b/net-analyzer/squid-graph/ChangeLog
index ba61d3438813..b660eea9cec5 100644
--- a/net-analyzer/squid-graph/ChangeLog
+++ b/net-analyzer/squid-graph/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-analyzer/squid-graph
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/squid-graph/ChangeLog,v 1.20 2008/05/24 15:11:55 pva Exp $
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/squid-graph/ChangeLog,v 1.21 2009/03/08 10:48:10 cla Exp $
+
+ 08 Mar 2009; Dawid Węgliński <cla@gentoo.org> squid-graph-3.2.ebuild:
+ Migrate to EAPI 2
24 May 2008; Peter Volkov <pva@gentoo.org> -squid-graph-3.1.ebuild,
-squid-graph-3.1-r1.ebuild, squid-graph-3.2.ebuild:
diff --git a/net-analyzer/squid-graph/squid-graph-3.2.ebuild b/net-analyzer/squid-graph/squid-graph-3.2.ebuild
index 6d721e53e06c..4d2a74e4d7f5 100644
--- a/net-analyzer/squid-graph/squid-graph-3.2.ebuild
+++ b/net-analyzer/squid-graph/squid-graph-3.2.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/squid-graph/squid-graph-3.2.ebuild,v 1.3 2008/05/24 15:11:55 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/squid-graph/squid-graph-3.2.ebuild,v 1.4 2009/03/08 10:48:10 cla Exp $
+
+EAPI="2"
inherit eutils
@@ -13,18 +15,11 @@ LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc sparc x86"
IUSE=""
-DEPEND="dev-perl/GD"
+DEPEND="dev-perl/GD[png]"
RDEPEND="${DEPEND}"
S=${WORKDIR}/${PN}
-pkg_setup() {
- if ! built_with_use dev-perl/GD png; then
- eerror "${CATEGORY}/${PN} requires dev-perl/GD be built with png USE flag."
- die "Please, reemerge dev-perl/GD with png USE flag enabled."
- fi
-}
-
src_install () {
dobin apacheconv generate.cgi squid-graph timeconv || die "dobin failed"
dodoc docs