diff options
Diffstat (limited to 'net-analyzer/gspoof/gspoof-3.2-r3.ebuild')
-rw-r--r-- | net-analyzer/gspoof/gspoof-3.2-r3.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/net-analyzer/gspoof/gspoof-3.2-r3.ebuild b/net-analyzer/gspoof/gspoof-3.2-r3.ebuild new file mode 100644 index 000000000000..938a95c5179a --- /dev/null +++ b/net-analyzer/gspoof/gspoof-3.2-r3.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools eutils + +DESCRIPTION="A simple GTK/command line TCP/IP packet generator" +HOMEPAGE="http://gspoof.sourceforge.net/" +SRC_URI="http://gspoof.sourceforge.net/src/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +IUSE="" + +DEPEND=" + x11-libs/gtk+:2 + dev-libs/glib:2 + net-libs/libnet:1.1 +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-def-values.patch + "${FILESDIR}"/${P}-icon.patch + "${FILESDIR}"/${PN}-3.2-libdir.patch +) + +src_prepare() { + default + eautoreconf +} + +src_compile() { + emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" +} + +src_install() { + dobin gspoof + newicon pixmap/icon.png ${PN}.png + dodoc README CHANGELOG TODO +} |