diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-05-29 17:28:19 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-05-29 17:28:19 +0000 |
commit | 09a0cb6830d8c9cd82846bccece0d90c0bb30c8b (patch) | |
tree | cb24f3beb108accae6cf7aae333c349896d91687 /net-analyzer/tcpstat | |
parent | Update (diff) | |
download | historical-09a0cb6830d8c9cd82846bccece0d90c0bb30c8b.tar.gz historical-09a0cb6830d8c9cd82846bccece0d90c0bb30c8b.tar.bz2 historical-09a0cb6830d8c9cd82846bccece0d90c0bb30c8b.zip |
dependencie, fhs and use fixes
Diffstat (limited to 'net-analyzer/tcpstat')
-rw-r--r-- | net-analyzer/tcpstat/tcpstat-1.3.ebuild | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/net-analyzer/tcpstat/tcpstat-1.3.ebuild b/net-analyzer/tcpstat/tcpstat-1.3.ebuild index fcaf22d2e7b9..1c59d1d7c983 100644 --- a/net-analyzer/tcpstat/tcpstat-1.3.ebuild +++ b/net-analyzer/tcpstat/tcpstat-1.3.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Achim Gottinger <achim@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpstat/tcpstat-1.3.ebuild,v 1.4 2000/11/02 08:31:52 achim Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpstat/tcpstat-1.3.ebuild,v 1.5 2001/05/29 17:28:19 achim Exp $ P=tcpstat-1.3 A=${P}.tar.gz @@ -10,12 +10,16 @@ DESCRIPTION="Reports network interface statistics" SRC_URI="http://www.frenchfries.net/paul/tcpstat/${A}" HOMEPAGE="http://www.frenchfries.net/paul/tcpstat/" -DEPEND=">=sys-libs/glibc-2.1.3 - >=net-libs/libpcap-0.5.2" +DEPEND="virtual/glibc + >=net-libs/libpcap-0.5.2 + berkdb? ( <sys-libs/db-2 )" + +RDEPEND="virtual/glibc + >=net-libs/libpcap-0.5.2 + berkdb? ( <sys-libs/db-2 )" src_compile() { - cd ${S} try ./configure --prefix=/usr --host=${CHOST} try make @@ -23,9 +27,10 @@ src_compile() { src_install () { - cd ${S} try make DESTDIR=${D} install - prepman + if [ "`use berkdb`" ] ; then + dobin src/tcpprof + fi dodoc AUTHORS ChangeLog COPYING LICENSE NEWS README* } |