You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-analyzer/sniffit/sniffit-0.3.7-r4.ebuild

38 lines
862 B

# Copyright 1999-2013 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-r4.ebuild,v 1.5 2013/02/06 19:50:40 ago Exp $
EAPI=4
inherit eutils toolchain-funcs
MY_P="${P/-/.}.beta"
S="${WORKDIR}/${MY_P}"
DESCRIPTION="Interactive Packet Sniffer"
SRC_URI="http://reptile.rug.ac.be/~coder/${PN}/files/${MY_P}.tar.gz"
HOMEPAGE="http://reptile.rug.ac.be/~coder/sniffit/sniffit.html"
DEPEND="net-libs/libpcap
>=sys-libs/ncurses-5.2"
RDEPEND="${DEPEND}"
SLOT="0"
LICENSE="BSD"
KEYWORDS="amd64 ppc sparc x86"
IUSE=""
#S="${WORKDIR}"/${P/-/.}.beta
src_prepare() {
epatch \
"${FILESDIR}"/${P}-flags.patch \
"${FILESDIR}"/${P}-misc.patch
tc-export CC
}
src_install () {
dosbin sniffit
doman sniffit.5 sniffit.8
dodoc README* PLUGIN-HOWTO BETA* HISTORY
}