mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
Add rebol recipe
This commit is contained in:
@@ -1,18 +1,47 @@
|
||||
SUMMARY="A lightweight scripting language"
|
||||
DESCRIPTION="
|
||||
Language with lightweight domain-specific sublanguages and micro-formats.
|
||||
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/"
|
||||
SRC_URI="https://github.com/rebol/r3/archive/master.zip"
|
||||
CHECKSUM_MD5="b6dc765aa910ad7d7e4af649d5e35431"
|
||||
SRC_URI="https://github.com/rebol/r3/archive/4d9840f8e661e7067472e828ee6ad8dd3008b247.zip"
|
||||
CHECKSUM_MD5="752fe4843dd1ce80678e9d66ec20a6dc"
|
||||
SRC_URI_2="http://ports-space.haiku-files.org/dev-lang/rebol/r3-make.zip"
|
||||
CHECKSUM_MD5_2="a922e0e82d020dedebcfa1a529028636"
|
||||
SRC_URI_3="https://github.com/rebolsource/rebol-test/archive/502075cc3a4116c1785081e602eb8e28efd3247f.zip"
|
||||
CHECKSUM_MD5_3="dc1e322361df2f21cb26032612a8b101"
|
||||
LICENSE="Apache v2"
|
||||
COPYRIGHT="2014 REBOL Technologies"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
ARCHITECTURES="x86_gcc2 x86 !x86_64"
|
||||
|
||||
PROVIDES="
|
||||
rebol = $portVersion
|
||||
cmd:r3 = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
cmd:nm
|
||||
cmd:strip
|
||||
"
|
||||
|
||||
SOURCE_DIR="rebol-4d9840f8e661e7067472e828ee6ad8dd3008b247"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd r3-master/make
|
||||
wget http://metaeducation.com/media/shared/haiku/r3-make.zip
|
||||
unzip r3-make.zip
|
||||
cd make
|
||||
cp $sourceDir2/r3-make-$targetArchitecture r3-make
|
||||
chmod +x r3-make
|
||||
make make OS_ID=0.5.75
|
||||
make prep
|
||||
make
|
||||
@@ -20,19 +49,14 @@ BUILD()
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd r3-master/make
|
||||
mkdir -p $DESTDIR`finddir B_COMMON_BIN_DIRECTORY`
|
||||
install -m 0755 r3 $DESTDIR`finddir B_COMMON_BIN_DIRECTORY`/rebol
|
||||
mkdir -p $binDir
|
||||
cp make/r3 $binDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
mkdir -p tests
|
||||
[ -d tests ] && rm -rf tests
|
||||
mkdir tests
|
||||
cd tests
|
||||
wget -N https://github.com/rebolsource/rebol-test/archive/master.zip
|
||||
unzip -o master
|
||||
../r3-master/make/r3 rebol-test-master/run-safe.r
|
||||
../make/r3 $sourceDir3/rebol-test-502075cc3a4116c1785081e602eb8e28efd3247f/run-recover.r
|
||||
}
|
||||
|
||||
LICENSE="Apache v2"
|
||||
COPYRIGHT="2013 REBOL Technologies"
|
||||
|
||||
Reference in New Issue
Block a user