Diff premake-4.3-r2 with a premake-5.0.0_beta2

/usr/portage/dev-util/premake/premake-5.0.0_beta2.ebuild 2023-10-09 14:52:30.988368388 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5 5

  
6
inherit toolchain-funcs
7

  
8
MY_PV=${PV/_/-}
9

  
6 10
DESCRIPTION="A makefile generation tool"
7
HOMEPAGE="http://industriousone.com/premake"
8
SRC_URI="mirror://sourceforge/premake/${P}-src.zip"
11
HOMEPAGE="https://premake.github.io"
12
SRC_URI="https://github.com/premake/premake-core/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
13
S="${WORKDIR}/${PN}-core-${MY_PV}"
9 14

  
10 15
LICENSE="BSD"
11
SLOT="4"
12
KEYWORDS="amd64 ppc x86"
16
SLOT="5"
17
KEYWORDS="~amd64 ~arm64 ~ppc ~x86"
13 18

  
14
BDEPEND="app-arch/unzip"
15

  
16
PATCHES=(
17
	"${FILESDIR}"/archless.patch
18
)
19
PATCHES=( "${FILESDIR}/${PN}-5.0.0-remove-hardcoded-libpath.patch" )
19 20

  
20 21
src_compile() {
21
	emake -C build/gmake.unix/
22
	# bug #773505
23
	tc-export AR CC
24

  
25
	emake -f Bootstrap.mak linux
26
}
27

  
28
src_test() {
29
	bin/release/premake${SLOT} test || die
22 30
}
23 31

  
24 32
src_install() {
25
	dobin bin/release/premake4
33
	dobin bin/release/premake${SLOT}
34

  
35
	einstalldocs
26 36
}
Thank you!