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. COPYRIGHT="1996-1998, 2000 Hekkelman Programmatuur B.V. All rights reserved.
1999-2000 Tim Vernum. All rights reserved." 1999-2000 Tim Vernum. All rights reserved."
LICENSE="BSD (4-clause)" LICENSE="BSD (4-clause)"
REVISION="3" REVISION="4"
SOURCE_URI="https://github.com/HaikuArchives/Rez/archive/v1.0.tar.gz" srcGitRev="cebd73d236db894c42b65bdb253c99a0a4c3cf71"
CHECKSUM_SHA256="a2e41044ad34302abef5ccaf2f86b16e7bf658c96ab337935cee5b6228597afa" SOURCE_URI="https://github.com/HaikuArchives/Pe/archive/$srcGitRev.tar.gz"
SOURCE_DIR="Rez-1.0" CHECKSUM_SHA256="1f287ddd702855c60787320c4398c3c7c1b0a196432bfd38c9e2a0f36e6a0b12"
SOURCE_DIR="Pe-$srcGitRev"
ARCHITECTURES="!x86 x86_gcc2" ARCHITECTURES="all"
PROVIDES=" PROVIDES="
rez = $portVersion rez = $portVersion
@@ -26,18 +27,25 @@ BUILD_REQUIRES="
" "
BUILD_PREREQUIRES=" BUILD_PREREQUIRES="
cmd:bison cmd:bison
cmd:cc cmd:g++
cmd:flex 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() BUILD()
{ {
make $jobArgs cd rez
jam $jobArgs
} }
INSTALL() INSTALL()
{ {
mkdir -p $binDir mkdir -pv $binDir
cp rez $binDir cp -afv rez/rez $binDir
} }