summaryrefslogtreecommitdiff
blob: 880fb210ad062d53fb8e3e062b7ee3e4e9f7c5bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

# Short one-line description of this package.
DESCRIPTION="fl0p is a passive flow fingerprinting utility"
HOMEPAGE="http://lcamtuf.coredump.cx/"
SRC_URI="http://lcamtuf.coredump.cx/soft/fl0p-devel.tgz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~sparc ~x86"
IUSE=""
DEPEND="net-libs/libpcap"
RDEPEND="${DEPEND}"

src_compile() {
	cd ${WORKDIR}/${PN}
	make || die "make failed"
}

src_install() {
	cd ${WORKDIR}/${PN}
	dosbin fl0p || die
	dodoc doc/{COPYING,CREDITS,ChangeLog,README,TODO}
	dodir /etc/fl0p
	insinto /etc/fl0p
	doins fl0p.fp
}