diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-analyzer/netwatch/netwatch-1.3.0.1-r3.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-analyzer/netwatch/netwatch-1.3.0.1-r3.ebuild')
-rw-r--r-- | net-analyzer/netwatch/netwatch-1.3.0.1-r3.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/net-analyzer/netwatch/netwatch-1.3.0.1-r3.ebuild b/net-analyzer/netwatch/netwatch-1.3.0.1-r3.ebuild new file mode 100644 index 000000000000..dda5375c225e --- /dev/null +++ b/net-analyzer/netwatch/netwatch-1.3.0.1-r3.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils versionator + +MY_PV=$(replace_version_separator 3 '-') + +DESCRIPTION="Ethernet/PPP IP Packet Monitor" +HOMEPAGE="http://www.slctech.org/~mackay/netwatch.html" +SRC_URI="http://www.slctech.org/~mackay/NETWATCH/${PN}-${MY_PV}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~x86" +IUSE="doc" + +RDEPEND="sys-libs/ncurses" +DEPEND=" + ${RDEPEND} + sys-kernel/linux-headers + virtual/pkgconfig +" + +S=${WORKDIR}/${PN}-$(get_version_component_range 1-3) + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-append_ldflags.patch \ + "${FILESDIR}"/${P}-open.patch \ + "${FILESDIR}"/${P}-fix-fortify.patch \ + "${FILESDIR}"/${P}-do-not-call.patch \ + "${FILESDIR}"/${P}-includes.patch \ + "${FILESDIR}"/${P}-tinfo.patch + + eautoreconf +} + +src_install() { + dosbin netresolv netwatch + + doman netwatch.1 + dodoc BUGS CHANGES README* TODO + + if use doc; then + dohtml NetwatchKeyCommands.html + fi +} |