Skip to content

Commit

Permalink
Add Premake-5.0.0_alpha6
Browse files Browse the repository at this point in the history
Note that alpha9 fails to build on Exherbo right now.

Change-Id: Ide8bd93c6c6d52ab47a69cac9fd37eab6b987a20
Reviewed-on: https://galileo.mailstation.de/gerrit/6516
Reviewed-by: Jenkins <wk@mailstation.de>
Reviewed-by: Anders Ladegaard Marchsteiner <alm.anma@gmail.com>
  • Loading branch information
ony authored and anderslm committed Jun 24, 2016
1 parent 27511ce commit d129a9c
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 3 deletions.
6 changes: 6 additions & 0 deletions metadata/repository_mask.conf
@@ -0,0 +1,6 @@
sys-devel/premake[=5.0.0_alpha*] [[
author = [ Mykola Orliuk <virkony@gmail.com> ]
date = [ 22 Jun 2016 ]
token = testing
description = [ Unstable version ]
]]
4 changes: 2 additions & 2 deletions packages/sys-devel/premake/premake-4.3.exheres-0
Expand Up @@ -3,7 +3,7 @@

require premake

SLOT="4"
SLOT="$(ever range 1)"
PLATFORMS="~amd64"

src_compile() {
Expand All @@ -12,7 +12,7 @@ src_compile() {
}

src_install() {
dobin "${WORK}"/bin/release/premake4
dobin "${WORK}"/bin/release/premake${SLOT}
default
}

18 changes: 18 additions & 0 deletions packages/sys-devel/premake/premake-5.0.0_alpha6.exheres-0
@@ -0,0 +1,18 @@
# Copyright 2012 Anders Ladegaard Marchsteiner <alm.anma@gmail.com>
# Distributed under the terms of the GNU General Public License v2

require premake

SLOT="$(ever range 1)"
PLATFORMS="~amd64"

src_compile() {
cd "${WORK}"/build/gmake.unix
default
}

src_install() {
dobin "${WORK}"/bin/release/premake${SLOT}
default
}

6 changes: 5 additions & 1 deletion packages/sys-devel/premake/premake.exlib
@@ -1,7 +1,11 @@
# Copyright 2012 Anders Ladegaard Marchsteiner <alm.anma@gmail.com>
# Distributed under the terms of the GNU General Public License v2

if ever at_least 4 ; then
if ever at_least 5 ; then
MY_PV=${PV/_/-}
require github [ user=premake project=${PN}-core release=v${MY_PV} pnv=${PN}-${MY_PV}-src suffix=zip ]
WORK=${WORKBASE}/${PN}-${MY_PV}
elif ever at_least 4 ; then
require sourceforge [ pnv=${PNV}-src suffix=zip ]
else
require sourceforge [ pnv=${PN}-src-${PV} suffix=zip ]
Expand Down

0 comments on commit d129a9c

Please sign in to comment.