123456789101112131415161718192021222324252627282930313233343536373839404142 |
- # Copyright 1999-2017 Gentoo Foundation
- # Distributed under the terms of the GNU General Public License v2
- EAPI=6
- DESCRIPTION="A really tiny cross-platform proxy servers set"
- HOMEPAGE="http://www.3proxy.ru/"
- SRC_URI="https://github.com/z3APA3A/3proxy/archive/${P}.tar.gz"
- LICENSE="BSD"
- SLOT="0"
- KEYWORDS="~x86 ~amd64 ~ppc"
- IUSE=""
- S="${WORKDIR}/${PN}-${P}"
- PATCHES=(
- "${FILESDIR}"/${P}-gentoo.patch
- )
- DOCS=( README cfg )
- HTML_DOCS=( doc/html/. )
- src_prepare() {
- default
- cp Makefile.Linux Makefile || die
- }
- src_install() {
- local x
- pushd src >/dev/null || die
- dobin 3proxy
- for x in proxy socks ftppr pop3p tcppm udppm mycrypt dighosts icqpr smtpp; 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
- }
|