0
0
Fork 0
haikuports/dev-lang/rebol/rebol-git_25033f897b.recipe

61 lines
1.5 KiB
Bash

SUMMARY="A lightweight scripting language"
DESCRIPTION="
A scripting language that provides a lightweight platform for distributed \
computing and communication. It is mainly designed for network communications, \
providing effective solutions to modern network distributed applications."
HOMEPAGE="http://www.rebol.com/"
COPYRIGHT="2014 REBOL Technologies"
LICENSE="Apache v2"
REVISION="1"
SOURCE_URI="https://github.com/rebol/rebol/archive/25033f897b2bd466068d7663563cd3ff64740b94.tar.gz"
CHECKSUM_SHA256="ffe75f829fd414aa61466bb357362c9df02849cc4daf5febefc3195074761244"
SOURCE_DIR="rebol-25033f897b2bd466068d7663563cd3ff64740b94"
SOURCE_URI_2="http://ports-space.haiku-files.org/dev-lang/rebol/r3-make.zip"
CHECKSUM_SHA256_2="2a6dda70211787fcca4249c922378e891ca287c8c110affb386b5cc939ba4798"
SOURCE_URI_3="https://github.com/rebol/rebol/archive/25033f897b2bd466068d7663563cd3ff64740b94.tar.gz"
CHECKSUM_SHA256_3="ffe75f829fd414aa61466bb357362c9df02849cc4daf5febefc3195074761244"
ARCHITECTURES="!all x86_gcc2 x86"
PROVIDES="
rebol = $portVersion
cmd:r3 = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:make
cmd:nm
cmd:strip
"
BUILD()
{
cd make
cp $sourceDir2/r3-make-$targetArchitecture r3-make
chmod +x r3-make
make make OS_ID=0.5.75
make prep
make
}
INSTALL()
{
mkdir -p $binDir
cp make/r3 $binDir
}
TEST()
{
[ -d tests ] && rm -rf tests
mkdir tests
cd tests
../make/r3 $sourceDir3/rebol-test-502075cc3a4116c1785081e602eb8e28efd3247f/run-recover.r
}