premake-core: added new package at v5.0.0-alpha15 (#18807)
This commit is contained in:
parent
9799c553e8
commit
3807ceec0b
27
var/spack/repos/builtin/packages/premake-core/package.py
Normal file
27
var/spack/repos/builtin/packages/premake-core/package.py
Normal file
@ -0,0 +1,27 @@
|
||||
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
|
||||
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
||||
#
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
|
||||
from spack import *
|
||||
|
||||
|
||||
class PremakeCore(MakefilePackage):
|
||||
"""Premake is a command line utility which reads a scripted
|
||||
definition of a software project, then uses it to perform
|
||||
build configuration tasks or generate project files for
|
||||
toolsets like Visual Studio, Xcode, and GNU Make. Premake's
|
||||
scripts are little Lua programs, so the sky's the limit!"""
|
||||
|
||||
homepage = "https://premake.github.io/"
|
||||
url = "https://github.com/premake/premake-core/archive/v5.0.0-alpha15.tar.gz"
|
||||
|
||||
version('5.0.0-alpha15', sha256='188c590f23b944f8fb2a3254acbb63c9655617be021ba4a670d81e6d499ff6cf')
|
||||
version('5.0.0-alpha14', sha256='bb0b7b13b1aa175159cbce252389f6e28025a1a935e678632b0dede8e5c21cb9')
|
||||
version('5.0.0-alpha13', sha256='bfe983e24686c50cada935f74adad2aefe6581649734b2ab8c1aaa2de4d473c6')
|
||||
|
||||
def build(self, spec, prefix):
|
||||
make('-f', 'Bootstrap.mak', self.architecture.platform.name)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
install_tree('bin/release', prefix.bin)
|
Loading…
Reference in New Issue
Block a user