mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
44 lines
944 B
Bash
44 lines
944 B
Bash
SUMMARY="A small compiler backend"
|
|
DESCRIPTION="QBE is a compiler backend that aims to provide 70% of the \
|
|
performance of industrial optimizing compilers in 10% of the code. QBE \
|
|
fosters language innovation by offering a compact user-friendly and \
|
|
performant backend. The size limit constrains QBE to focus on the essential \
|
|
and prevents embarking on a never-ending path of diminishing returns."
|
|
HOMEPAGE="http://c9x.me/compile/"
|
|
COPYRIGHT="2015-2023 Quentin Carbonneaux"
|
|
LICENSE="MIT"
|
|
REVISION="1"
|
|
SOURCE_URI="http://c9x.me/compile/release/qbe-1.2.tar.xz"
|
|
CHECKSUM_SHA256="a6d50eb952525a234bf76ba151861f73b7a382ac952d985f2b9af1df5368225d"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
|
|
PROVIDES="
|
|
qbe = $portVersion
|
|
cmd:qbe
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
haiku_devel
|
|
cmd:gcc
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make $jobArgs CC=cc
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $docDir
|
|
cp -r $sourceDir/doc/* $docDir/
|
|
|
|
mkdir -p $binDir
|
|
cp $sourceDir/qbe $binDir/
|
|
}
|
|
|