net-misc/redir: EAPI 6 bump.
authorPatrice Clement <monsieurp@gentoo.org>
Sun, 15 Apr 2018 18:30:30 +0000 (20:30 +0200)
committerPatrice Clement <monsieurp@gentoo.org>
Sun, 15 Apr 2018 18:47:46 +0000 (20:47 +0200)
Package-Manager: Portage-2.3.24, Repoman-2.3.6

net-misc/redir/redir-2.2.1-r1.ebuild [new file with mode: 0644]

diff --git a/net-misc/redir/redir-2.2.1-r1.ebuild b/net-misc/redir/redir-2.2.1-r1.ebuild
new file mode 100644 (file)
index 0000000..104aafd
--- /dev/null
@@ -0,0 +1,29 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Redir is a port redirector"
+HOMEPAGE="http://sammy.net/~sammy/hacks/"
+SRC_URI="http://sammy.net/~sammy/hacks/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~mips ~sparc ~x86"
+
+PATCHES=( "${FILESDIR}/${P}-include.patch" )
+DOCS=( CHANGES README transproxy.txt )
+
+src_compile() {
+       emake \
+               CC="$(tc-getCC)" \
+               CFLAGS="${CFLAGS}" \
+               LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+       dobin "${PN}"
+       newman "${PN}.man" "${PN}.1"
+}