summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/sniffit/sniffit-0.3.7-r2.ebuild')
-rw-r--r--net-analyzer/sniffit/sniffit-0.3.7-r2.ebuild16
1 files changed, 7 insertions, 9 deletions
diff --git a/net-analyzer/sniffit/sniffit-0.3.7-r2.ebuild b/net-analyzer/sniffit/sniffit-0.3.7-r2.ebuild
index 7c00bc61bace..2a5fd8d9eafa 100644
--- a/net-analyzer/sniffit/sniffit-0.3.7-r2.ebuild
+++ b/net-analyzer/sniffit/sniffit-0.3.7-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sniffit/sniffit-0.3.7-r2.ebuild,v 1.1 2010/09/16 16:31:59 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sniffit/sniffit-0.3.7-r2.ebuild,v 1.2 2010/09/16 16:35:41 jer Exp $
EAPI="2"
@@ -15,6 +15,7 @@ HOMEPAGE="http://reptile.rug.ac.be/~coder/sniffit/sniffit.html"
DEPEND="net-libs/libpcap
>=sys-libs/ncurses-5.2"
+RDEPEND="${DEPEND}"
SLOT="0"
LICENSE="as-is"
@@ -22,14 +23,11 @@ KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""
src_prepare() {
-for i in *.c *.h Makefile.in; do cp -av $i $i.orig; done
epatch \
- ${WORKDIR}/${PN}_0.3.7.beta-15.diff \
- ${PN}-0.3.7.beta/debian/patches/
-
- epatch \
- ${FILESDIR}/${P}-flags.patch \
- ${FILESDIR}/${P}-misc.patch
+ "${WORKDIR}"/${PN}_0.3.7.beta-15.diff \
+ ${PN}-0.3.7.beta/debian/patches/ \
+ "${FILESDIR}"/${P}-flags.patch \
+ "${FILESDIR}"/${P}-misc.patch
}
src_configure() {
@@ -41,5 +39,5 @@ src_install () {
dobin sniffit
doman sniffit.5 sniffit.8
- dodoc README* PLUGIN-HOWTO BETA* HISTORY LICENSE
+ dodoc README* PLUGIN-HOWTO BETA* HISTORY
}