mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
51 lines
1.2 KiB
Bash
51 lines
1.2 KiB
Bash
SUMMARY="Powerfully simple build configuration"
|
|
DESCRIPTION="\
|
|
Describe your software project with a full-featured scripting language and \
|
|
let Premake write the build scripts for you. With one file your project can \
|
|
support both IDE-addicted Windows coders and Linux command-line junkies!"
|
|
HOMEPAGE="http://industriousone.com/premake"
|
|
COPYRIGHT="2012 Industrious One, LLC"
|
|
LICENSE="BSD (2-clause)"
|
|
REVISION="2"
|
|
SOURCE_URI="https://github.com/premake/premake-core/archive/b02c495d024ea72966bc0b5d448d21c7149f69c2.zip"
|
|
CHECKSUM_SHA256="eed7555ce858075fc68e9584a3b179aac1be7d32a8227f1fe2928d0ead8579e1"
|
|
SOURCE_DIR="premake-core-b02c495d024ea72966bc0b5d448d21c7149f69c2"
|
|
|
|
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
commandBinDir=$binDir
|
|
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
|
commandBinDir=$prefix/bin
|
|
fi
|
|
|
|
PROVIDES="
|
|
premake$secondaryArchSuffix = $portVersion
|
|
cmd:premake5 = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:getconf
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make -f Bootstrap.mak haiku
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
cd bin/release
|
|
mkdir -p $commandBinDir
|
|
install -m 0755 premake5 $commandBinDir
|
|
}
|