diff options
Diffstat (limited to 'net-analyzer/siphon/siphon-666-r1.ebuild')
-rw-r--r-- | net-analyzer/siphon/siphon-666-r1.ebuild | 28 |
1 files changed, 10 insertions, 18 deletions
diff --git a/net-analyzer/siphon/siphon-666-r1.ebuild b/net-analyzer/siphon/siphon-666-r1.ebuild index 62028cb36f6f..c9714eb29b04 100644 --- a/net-analyzer/siphon/siphon-666-r1.ebuild +++ b/net-analyzer/siphon/siphon-666-r1.ebuild @@ -1,43 +1,35 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/siphon/siphon-666-r1.ebuild,v 1.5 2012/12/05 16:28:50 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/siphon/siphon-666-r1.ebuild,v 1.6 2014/07/17 01:09:22 jer Exp $ -EAPI="2" - -inherit toolchain-funcs +EAPI=5 +inherit eutils toolchain-funcs MY_P=${PN}-v.${PV} DESCRIPTION="A portable passive network mapping suite" -SRC_URI="http://siphon.datanerds.net/${MY_P}.tar.gz" HOMEPAGE="http://siphon.datanerds.net/" - -SLOT="0" +SRC_URI="${HOMEPAGE}${MY_P}.tar.gz" LICENSE="BSD" +SLOT="0" KEYWORDS="~amd64 ~ppc x86" DEPEND="net-libs/libpcap" RDEPEND="${DEPEND}" -IUSE="" S=${WORKDIR}/${MY_P} src_prepare() { - sed -i log.c \ - -e 's:osprints\.conf:/etc/osprints.conf:' \ - || die "sed log.c" - sed -i Makefile \ - -e '/^CFLAGS/s:=.*:+= -pthread -Wall -I.:g' \ - -e 's: -o : $(LDFLAGS)&:g' \ - || die "sed Makefile" + epatch "${FILESDIR}"/${P}-gentoo.patch + epatch "${FILESDIR}"/${P}-log.patch } src_compile() { - emake CC=$(tc-getCC) || die + emake CC="$(tc-getCC)" } src_install() { - dobin ${PN} || die "dobin ${PN}" + dobin ${PN} insinto /etc doins osprints.conf dodoc README |