add games-strategy/0ad

This commit is contained in:
Martin Sekera 2021-08-13 17:32:19 +02:00
parent af1176e1e6
commit 74e4d67529
2 changed files with 255 additions and 0 deletions

View file

@ -0,0 +1,33 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MY_PV=${PV/_/-}
DESCRIPTION="A makefile generation tool"
HOMEPAGE="https://premake.github.io"
SRC_URI="https://github.com/premake/premake-core/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-core-${MY_PV}"
LICENSE="BSD"
SLOT="5"
KEYWORDS="~amd64 ~ppc ~x86"
BDEPEND=""
src_compile() {
emake -f Bootstrap.mak linux
}
src_test() {
bin/release/premake${SLOT} test || die
}
src_install() {
dobin bin/release/premake${SLOT}
einstalldocs
}