1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit toolchain-funcs
8 DESCRIPTION="redirects TCP connections from one IP address and port to another"
9 HOMEPAGE="http://www.boutell.com/rinetd/"
10 SRC_URI="http://www.boutell.com/rinetd/http/rinetd.tar.gz -> ${P}.tar.gz"
21 sed -i -e "s:gcc:$(tc-getCC) \$(CFLAGS) \$(LDFLAGS):" Makefile
25 emake CFLAGS="${CFLAGS} -DLINUX" LDFLAGS="${LDFLAGS}"
30 newinitd "${FILESDIR}"/rinetd.rc rinetd
32 dodoc CHANGES README index.html