diff options
Diffstat (limited to 'net-analyzer/squid-graph/squid-graph-3.2.ebuild')
-rw-r--r-- | net-analyzer/squid-graph/squid-graph-3.2.ebuild | 15 |
1 files changed, 5 insertions, 10 deletions
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 |