mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-dns/dnshijacker: Port to EAPI 7
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
EAPI=7
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="a libnet/libpcap based packet sniffer and spoofer"
|
||||
HOMEPAGE="http://pedram.redhive.com/projects.php"
|
||||
@@ -12,18 +12,16 @@ SRC_URI="http://pedram.redhive.com/downloads/${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="net-libs/libpcap
|
||||
DEPEND="
|
||||
net-libs/libpcap
|
||||
>=net-libs/libnet-1.0.2a-r3:1.0"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-gentoo.patch
|
||||
}
|
||||
PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
|
||||
|
||||
src_compile() {
|
||||
emake CC=$(tc-getCC)
|
||||
src_configure() {
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_install() {
|
||||
@@ -32,5 +30,5 @@ src_install() {
|
||||
insinto /etc/dnshijacker
|
||||
doins ftable
|
||||
|
||||
dodoc README
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user