summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDawid Węgliński <cla@gentoo.org>2009-03-08 12:12:42 +0000
committerDawid Węgliński <cla@gentoo.org>2009-03-08 12:12:42 +0000
commit051663688d02108c46906c91bdc0c3df98d53b48 (patch)
treebcad569c9a342566f87433410ee4089ed9a42042 /net-analyzer/iptraf/iptraf-3.0.0-r5.ebuild
parentBump to 0.3.5-r1. (diff)
downloadhistorical-051663688d02108c46906c91bdc0c3df98d53b48.tar.gz
historical-051663688d02108c46906c91bdc0c3df98d53b48.tar.bz2
historical-051663688d02108c46906c91bdc0c3df98d53b48.zip
Migrate to EAPI 2
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'net-analyzer/iptraf/iptraf-3.0.0-r5.ebuild')
-rw-r--r--net-analyzer/iptraf/iptraf-3.0.0-r5.ebuild16
1 files changed, 6 insertions, 10 deletions
diff --git a/net-analyzer/iptraf/iptraf-3.0.0-r5.ebuild b/net-analyzer/iptraf/iptraf-3.0.0-r5.ebuild
index 9a984fe7e26e..944923197327 100644
--- a/net-analyzer/iptraf/iptraf-3.0.0-r5.ebuild
+++ b/net-analyzer/iptraf/iptraf-3.0.0-r5.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/iptraf/iptraf-3.0.0-r5.ebuild,v 1.4 2008/12/30 10:04:22 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/iptraf/iptraf-3.0.0-r5.ebuild,v 1.5 2009/03/08 12:12:42 cla Exp $
+
+EAPI="2"
inherit eutils flag-o-matic toolchain-funcs
@@ -14,14 +16,8 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="ipv6 suid unicode"
-DEPEND=">=sys-libs/ncurses-5.2-r1"
-
-pkg_setup() {
- if use unicode && ! built_with_use sys-libs/ncurses unicode; then
- eerror "sys-libs/ncurses must be build with unicode"
- die "${PN} requires sys-libs/ncurses with USE=unicode"
- fi
-}
+DEPEND=">=sys-libs/ncurses-5.2-r1
+ unicode? ( >=sys-libs/ncurses-5.2-r1[unicode] )"
src_unpack() {
unpack ${P}.tar.gz