Diff 3proxy-0.9.0 with a 3proxy-0.9.4

/usr/portage/net-proxy/3proxy/3proxy-0.9.4.ebuild 2023-10-09 14:52:34.748368483 +0300
1
# Copyright 1999-2020 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6 6
inherit toolchain-funcs
7 7

  
8 8
DESCRIPTION="A really tiny cross-platform proxy servers set"
9
HOMEPAGE="https://www.3proxy.ru/"
10
SRC_URI="https://github.com/z3APA3A/3proxy/archive/${PV}.tar.gz -> ${P}.tar.gz"
9
HOMEPAGE="
10
	https://3proxy.ru/
11
	https://github.com/3proxy/3proxy/
12
"
13
SRC_URI="https://github.com/3proxy/3proxy/archive/${PV}.tar.gz -> ${P}.tar.gz"
11 14
LICENSE="BSD"
12 15
SLOT="0"
13
KEYWORDS="~alpha amd64 ~arm ppc ~sparc x86"
14
IUSE=""
16
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~sparc ~x86"
15 17

  
16 18
PATCHES=(
17
	"${FILESDIR}"/${PN}-0.9.0-gentoo.patch
19
	"${FILESDIR}/${P}-gentoo.patch"
20
	"${FILESDIR}/${P}-function-pointer-fix.patch"
18 21
)
19 22

  
20 23
DOCS=( README cfg )
......
22 25

  
23 26
src_prepare() {
24 27
	default
28
	tc-export CC
25 29
	cp Makefile.Linux Makefile || die
26 30
}
27 31

  
28
src_compile() {
29
	emake CC="$(tc-getCC)" LN="$(tc-getCC)"
30
}
31

  
32 32
src_install() {
33 33
	local x
34 34

  
Thank you!