diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-07-30 20:31:51 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-07-30 20:31:51 +0000 |
commit | d03d8a384723cf01796484696d1b1b88b2447b99 (patch) | |
tree | 1f8b27cb42430bac11e72ecd4971bcd577980148 /net-analyzer | |
parent | move dev-java/javahelp dev-java/javahelp-bin (Manifest recommit) (diff) | |
download | gentoo-2-d03d8a384723cf01796484696d1b1b88b2447b99.tar.gz gentoo-2-d03d8a384723cf01796484696d1b1b88b2447b99.tar.bz2 gentoo-2-d03d8a384723cf01796484696d1b1b88b2447b99.zip |
gnuconfig loving
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/ntop/ntop-3.0.ebuild | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/net-analyzer/ntop/ntop-3.0.ebuild b/net-analyzer/ntop/ntop-3.0.ebuild index eaa9e77f9f34..6893b07fb583 100644 --- a/net-analyzer/ntop/ntop-3.0.ebuild +++ b/net-analyzer/ntop/ntop-3.0.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ntop/ntop-3.0.ebuild,v 1.8 2004/07/25 13:35:01 eldad Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ntop/ntop-3.0.ebuild,v 1.9 2004/07/30 20:30:20 vapier Exp $ + +inherit gnuconfig DESCRIPTION="tool that shows network usage like top" HOMEPAGE="http://www.ntop.org/ntop.html" @@ -20,19 +22,25 @@ DEPEND=">=sys-libs/gdbm-1.8.0 readline? ( >=sys-libs/readline-4.1 ) ncurses? ( sys-libs/ncurses )" +src_unpack() { + unpack ${A} + cd ${S} + gnuconfig_update +} + src_compile() { local myconf - use readline || myconf="${myconf} --without-readline" - use tcpd || myconf="${myconf} --with-tcpwrap" - use ssl || myconf="${myconf} --without-ssl" - use ncurses || myconf="${myconf} --without-curses" + use readline || myconf="${myconf} --without-readline" + use tcpd || myconf="${myconf} --with-tcpwrap" + use ssl || myconf="${myconf} --without-ssl" + use ncurses || myconf="${myconf} --without-curses" econf ${myconf} || die "configure problem" make || die "compile problem" } -src_install () { +src_install() { make DESTDIR=${D} install || die "install problem" # fixme: bad handling of plugins (in /usr/lib with unsuggestive names) @@ -40,7 +48,7 @@ src_install () { doman ntop.8 - dodoc AUTHORS CONTENTS COPYING ChangeLog MANIFESTO NEWS + dodoc AUTHORS CONTENTS ChangeLog MANIFESTO NEWS dodoc PORTING README SUPPORT_NTOP.txt THANKS docs/* dohtml ntop.html |