summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-analyzer/cnet/ChangeLog8
-rw-r--r--net-analyzer/cnet/Manifest4
-rw-r--r--net-analyzer/cnet/cnet-2.0.5.ebuild14
3 files changed, 19 insertions, 7 deletions
diff --git a/net-analyzer/cnet/ChangeLog b/net-analyzer/cnet/ChangeLog
index ea3e0cb15e43..e0139f6a9129 100644
--- a/net-analyzer/cnet/ChangeLog
+++ b/net-analyzer/cnet/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/cnet
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cnet/ChangeLog,v 1.1 2003/08/01 19:48:23 rizzo Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cnet/ChangeLog,v 1.2 2003/12/08 21:54:57 rizzo Exp $
+
+ 08 Dec 2003; Don Seiler <rizzo@gentoo.org>; cnet-2.0.5.ebuild:
+ Fix for Bug 35160: hardwired CFLAGS. Thanks to Eldad Zack
+
+ 08 Dec 2003; Don Seiler <rizzo@gentoo.org>; cnet-2.0.5.ebuild:
+ Fix for Bug 35109: Install docs. Thanks to viktor(at)neotek(dot)hu
*cnet-2.0.5 (01 Aug 2003)
diff --git a/net-analyzer/cnet/Manifest b/net-analyzer/cnet/Manifest
index c8dd35c0cb66..5838be8c23f1 100644
--- a/net-analyzer/cnet/Manifest
+++ b/net-analyzer/cnet/Manifest
@@ -1,5 +1,5 @@
-MD5 975f150504319d33da3f4270e028ba7c cnet-2.0.5.ebuild 868
-MD5 0f7257094a7d95ba4471aa9fe54a148e ChangeLog 435
+MD5 20a4df78099ef1df5629d0c2d984b2c3 cnet-2.0.5.ebuild 1042
+MD5 179ea6ecc0de6ae072fc05c7ad36f36e ChangeLog 698
MD5 169e364920f553ebb1b1cdd3f2778f45 metadata.xml 527
MD5 5fa730e3f767e911187654f6f809257f files/digest-cnet-2.0.5 60
MD5 652fb332fa98e02524b07ee1561c6182 files/cnet-2.0.5-gentoo.patch 1363
diff --git a/net-analyzer/cnet/cnet-2.0.5.ebuild b/net-analyzer/cnet/cnet-2.0.5.ebuild
index 6f8d43c29d65..ebd25aba7c92 100644
--- a/net-analyzer/cnet/cnet-2.0.5.ebuild
+++ b/net-analyzer/cnet/cnet-2.0.5.ebuild
@@ -1,8 +1,7 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cnet/cnet-2.0.5.ebuild,v 1.1 2003/08/01 19:48:23 rizzo Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cnet/cnet-2.0.5.ebuild,v 1.2 2003/12/08 21:54:57 rizzo Exp $
-S=${WORKDIR}/${P}
DESCRIPTION="Network simulation tool"
SRC_URI="http://www.csse.uwa.edu.au/cnet/${P}.tgz"
HOMEPAGE="http://www.csse.uwa.edu.au/cnet"
@@ -10,9 +9,10 @@ HOMEPAGE="http://www.csse.uwa.edu.au/cnet"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
+IUSE=""
DEPEND=">=dev-lang/tk-8.3.4"
-RDEPEND=""
+#RDEPEND=""
# unpacking the source
src_unpack() {
@@ -20,6 +20,7 @@ src_unpack() {
cd ${S}
epatch ${FILESDIR}/cnet-2.0.5-gentoo.patch
+ sed -i.orig -e "s/^CFLAGS.*/CFLAGS=${CFLAGS}/" ${S}/src/Makefile.linux
}
src_install() {
@@ -29,5 +30,10 @@ src_install() {
mkdir -p ${D}/usr/{bin,lib,share}
mkdir -p ${D}/usr/share/man/man1
# install with make now
- make PREFIX=${D}/usr install
+ emake PREFIX=${D}/usr install || die
+
+ #install examples
+ DOCDESTTREE=EXAMPLES
+ dodir /usr/share/doc/${PF}/${DOCDESTTREE}
+ dodoc EXAMPLES/*
}