From 8538532f0d4fe3880f2d39bc82c00958995c4f9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Sun, 19 Apr 2020 17:32:52 +0200 Subject: [PATCH] premake5: initial add 5.0.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- recipes-devtools/premake/premake5_5.0.0.bb | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 recipes-devtools/premake/premake5_5.0.0.bb diff --git a/recipes-devtools/premake/premake5_5.0.0.bb b/recipes-devtools/premake/premake5_5.0.0.bb new file mode 100644 index 0000000..5ee3f5b --- /dev/null +++ b/recipes-devtools/premake/premake5_5.0.0.bb @@ -0,0 +1,25 @@ +SUMMARY = "A simple build configuration and project generation tool using lua" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4d2a821a590b53e6ca55241102be4dbe" +HOMEPAGE = "http://premake.github.io/" + +SRC_URI = " \ + https://github.com/premake/premake-core/releases/download/v5.0.0-alpha14/premake-5.0.0-alpha14-src.zip \ +" +SRC_URI[md5sum] = "f26699599c53865f7b154e9ed22a0ba4" +SRC_URI[sha256sum] = "7c9fa4488156625c819dd03f2b48bfd4712fbfabdc2b5768e8c7f52dd7d16608" +S = "${WORKDIR}/premake-${PV}-alpha14" + +BBCLASSEXTEND = "native" + +do_compile_prepend() { + cd ${S}/build/gmake.unix + export config=debug +} + +do_install() { + install -d ${D}${bindir} + install -m 755 ${S}/bin/debug/premake5 ${D}${bindir} +} + +