DESCRIPTION = "Driftnet watches network traffic, and picks out and displays JPEG and GIF \
images for display. It is an horrific invasion of privacy and shouldn't be used \
by anyone anywhere. It can also extract MPEG audio data from the network and \
play it."
MAINTAINER = "Simon Pickering <S.G.Pickering@bath.ac.uk>"
SECTION = "net"
PRIORITY = "optional"

DEPENDS = "libpcap jpeg libungif gtk+ libgpewidget"
PV = "0.1.6"

SRC_URI = "http://www.ex-parrot.com/~chris/driftnet/${PN}-${PV}.tar.gz \
	file://arm.patch;patch=1"

S = "${WORKDIR}/driftnet-${PV}"

inherit autotools

do_compile() {
	oe_runmake STAGING_INCDIR="${STAGING_INCDIR}"
}

do_install() {
	install -d ${D}/${bindir}
	install -m 0744 driftnet ${D}/${bindir}/
}