rez: switch source to Pe version and enable recipe for 64 bit (#10161)

This commit is contained in:
augiedoggie
2024-03-01 10:28:50 -07:00
committed by GitHub
parent 2ea8c6bf84
commit c349439552

View File

@@ -6,12 +6,13 @@ 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="3"
SOURCE_URI="https://github.com/HaikuArchives/Rez/archive/v1.0.tar.gz"
CHECKSUM_SHA256="a2e41044ad34302abef5ccaf2f86b16e7bf658c96ab337935cee5b6228597afa"
SOURCE_DIR="Rez-1.0"
REVISION="4"
srcGitRev="cebd73d236db894c42b65bdb253c99a0a4c3cf71"
SOURCE_URI="https://github.com/HaikuArchives/Pe/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="1f287ddd702855c60787320c4398c3c7c1b0a196432bfd38c9e2a0f36e6a0b12"
SOURCE_DIR="Pe-$srcGitRev"
ARCHITECTURES="!x86 x86_gcc2"
ARCHITECTURES="all"
PROVIDES="
rez = $portVersion
@@ -26,18 +27,25 @@ BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
cmd:bison
cmd:cc
cmd:g++
cmd:flex
cmd:make
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()
{
make $jobArgs
cd rez
jam $jobArgs
}
INSTALL()
{
mkdir -p $binDir
cp rez $binDir
mkdir -pv $binDir
cp -afv rez/rez $binDir
}