Files
haikuports/haiku-apps/rez/rez-108.recipe

52 lines
1.1 KiB
Bash

SUMMARY="The Rez resource compiler"
DESCRIPTION="Rez is a resource compiler similar to rc. Its main use is compiling\
the Sum-it spreadsheet. New applications should consider using rc instead, but\
Rez may still be useful to compile some old apps from the BeOS days"
HOMEPAGE="https://github.com/HaikuArchives/Rez/"
COPYRIGHT="1996-1998, 2000 Hekkelman Programmatuur B.V. All rights reserved.
1999-2000 Tim Vernum. All rights reserved."
LICENSE="BSD (4-clause)"
REVISION="4"
srcGitRev="cebd73d236db894c42b65bdb253c99a0a4c3cf71"
SOURCE_URI="https://github.com/HaikuArchives/Pe/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="1f287ddd702855c60787320c4398c3c7c1b0a196432bfd38c9e2a0f36e6a0b12"
SOURCE_DIR="Pe-$srcGitRev"
ARCHITECTURES="all"
PROVIDES="
rez = $portVersion
cmd:rez = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:bison
cmd:g++
cmd:flex
cmd:jam
"
PATCH()
{
# rez doesn't need pcre, only Pe
sed -i -E 's,(Exit "You need to have pcre installed on your system." ;),# \1,' build/BuildSettings
}
BUILD()
{
cd rez
jam $jobArgs
}
INSTALL()
{
mkdir -pv $binDir
cp -afv rez/rez $binDir
}