Files
gentoo/net-proxy/3proxy/3proxy-0.9.0.ebuild
T
Sergei Trofimovich a5abdb8015 net-proxy/3proxy: stable 0.9.0 for ppc
stable wrt bug #757714

Package-Manager: Portage-3.0.11, Repoman-3.0.2
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2020-12-04 18:31:19 +00:00

48 lines
919 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit toolchain-funcs
DESCRIPTION="A really tiny cross-platform proxy servers set"
HOMEPAGE="https://www.3proxy.ru/"
SRC_URI="https://github.com/z3APA3A/3proxy/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ppc ~sparc x86"
IUSE=""
PATCHES=(
"${FILESDIR}"/${PN}-0.9.0-gentoo.patch
)
DOCS=( README cfg )
HTML_DOCS=( doc/html/. )
src_prepare() {
default
cp Makefile.Linux Makefile || die
}
src_compile() {
emake CC="$(tc-getCC)" LN="$(tc-getCC)"
}
src_install() {
local x
pushd bin >/dev/null || die
dolib.so *.so
dobin 3proxy
for x in ftppr mycrypt pop3p proxy smtpp socks tcppm udppm; do
newbin ${x} ${PN}-${x}
[[ -f "${S}"/man/${x}.8 ]] && newman "${S}"/man/${x}.8 ${PN}-${x}.8
done
popd >/dev/null
doman man/3proxy*.[38]
einstalldocs
}