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

/usr/portage/dev-util/premake/premake-5.0.0_beta2.ebuild 2025-02-03 17:39:32.918667242 +0300
1
# Copyright 1999-2024 Gentoo Authors
1
# Copyright 1999-2025 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="https://downloads.sourceforge.net/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"
13

  
14
BDEPEND="app-arch/unzip"
16
SLOT="5"
17
KEYWORDS="amd64 ~arm64 ppc x86"
15 18

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

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

  
28
	emake -f Bootstrap.mak linux
29
}
30

  
31
src_test() {
32
	bin/release/premake${SLOT} test || die
22 33
}
23 34

  
24 35
src_install() {
25
	dobin bin/release/premake4
36
	dobin bin/release/premake${SLOT}
37

  
38
	einstalldocs
26 39
}
Thank you!