mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-12 00:01:46 +02:00
testing/premake: new aport
https://github.com/premake/premake-core Simple build configuration and project generation tool
This commit is contained in:
parent
a0ca95f3b1
commit
23558cd554
25
testing/premake/0001-Change-Test-FindLibrary-to-libc.patch
Normal file
25
testing/premake/0001-Change-Test-FindLibrary-to-libc.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From 7bb635ffcb0fcff4e61f2ae7fc2b1aa6a699b52f Mon Sep 17 00:00:00 2001
|
||||
From: Ralf Rachinger <ralfrachinger@gmail.com>
|
||||
Date: Tue, 10 Aug 2021 02:09:47 +0200
|
||||
Subject: [PATCH 2/2] Change Test FindLibrary to libc
|
||||
|
||||
---
|
||||
tests/base/test_os.lua | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tests/base/test_os.lua b/tests/base/test_os.lua
|
||||
index 62315dea..23c5b966 100644
|
||||
--- a/tests/base/test_os.lua
|
||||
+++ b/tests/base/test_os.lua
|
||||
@@ -28,7 +28,7 @@
|
||||
elseif os.istarget("haiku") then
|
||||
test.istrue(os.findlib("root"))
|
||||
else
|
||||
- test.istrue(os.findlib("m"))
|
||||
+ test.istrue(os.findlib("libc"))
|
||||
end
|
||||
end
|
||||
|
||||
--
|
||||
2.32.0
|
||||
|
||||
35
testing/premake/APKBUILD
Normal file
35
testing/premake/APKBUILD
Normal file
@ -0,0 +1,35 @@
|
||||
# Contributor: Ralf Rachinger <ralfrachinger@gmail.com>
|
||||
# Maintainer: Ralf Rachinger <ralfrachinger@gmail.com>
|
||||
# *Inspired* by https://github.com/archlinux/svntogit-community/blob/794c98925b4cc2684d067b7142710ae84bd80d21/trunk/PKGBUILD
|
||||
pkgname=premake
|
||||
pkgver=5.0.0_alpha16
|
||||
_ver=5.0.0-alpha16
|
||||
pkgrel=0
|
||||
pkgdesc="Simple build configuration and project generation tool"
|
||||
url="https://premake.github.io"
|
||||
arch="all"
|
||||
license="BSD-3-Clause"
|
||||
source="
|
||||
https://github.com/premake/premake-core/releases/download/v$_ver/premake-$_ver-src.zip
|
||||
0001-Change-Test-FindLibrary-to-libc.patch
|
||||
"
|
||||
builddir="$srcdir/premake-$_ver-src"
|
||||
|
||||
|
||||
build() {
|
||||
make -C "$builddir/build/gmake2.unix" config=release
|
||||
}
|
||||
|
||||
check() {
|
||||
bin/release/premake5 test
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 bin/release/premake5 "$pkgdir"/usr/bin/premake5
|
||||
install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname"/LICENSE
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
2b869da4eb0487405289e2274fc8feefa02fb543559e43f2c2c9e869f701a40d78cfc135f679fa00554f2993a5511c8d740a8fe5576914ba8dc8636b75736b5c premake-5.0.0-alpha16-src.zip
|
||||
7b5e7f51b1f927532b8ef655d82954b357ac992644c6abb90d44dad33a60242f49cd7482bf521c16c1b7cc6df96fd35d65c3c2dc041984683b7dc79062e9674d 0001-Change-Test-FindLibrary-to-libc.patch
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user