mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
rust: srcGitRev2 => srcGitRev_2.
* code style.
This commit is contained in:
@@ -1,29 +1,30 @@
|
||||
SUMMARY="Modern and safe systems programming language"
|
||||
DESCRIPTION="Rust is a systems programming language that runs blazingly fast, prevents almost all crashes*, and eliminates data races."
|
||||
HOMEPAGE="http://www.rust-lang.org/"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2016, The Rust Project Developers"
|
||||
srcGitRev="b515c198d30b5d5e18a15bd167949032659f81dc"
|
||||
srcGitRev2="57315f7e07d09b6f0341ebbcd50dded6c20d782f"
|
||||
srcGitRev3="eee85639922229007a63fc17ba9d1144ef84d53d"
|
||||
srcGitRev4="f96680f5a059069a320f62568d5afc88db9a7ec0"
|
||||
srcGitRev5="4638c60dedfa581fd5fa7c6420d8f32274c9ca0b"
|
||||
srcGitRev6="e1a938af495e2ba7477204fb4f24ccc902605e75"
|
||||
SOURCE_URI="https://github.com/nielx/rust/archive/$srcGitRev.tar.gz"
|
||||
SOURCE_URI_2="https://github.com/rust-lang/compiler-rt/archive/$srcGitRev2.tar.gz"
|
||||
SOURCE_URI_3="https://github.com/nielx/llvm/archive/$srcGitRev3.tar.gz"
|
||||
SOURCE_URI_4="https://github.com/nielx/rust-installer/archive/$srcGitRev4.tar.gz"
|
||||
SOURCE_URI_5="https://github.com/rust-lang/hoedown/archive/$srcGitRev5.tar.gz"
|
||||
SOURCE_URI_6="https://github.com/nielx/libc/archive/$srcGitRev6.tar.gz"
|
||||
SOURCE_FILENAME="rust-$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="ced1585902f9ad107726345ef8873effb03fda72b1d897fd885cd815fd5a3cdf"
|
||||
CHECKSUM_SHA256_2="244e97dbad67f752a4c394407e0929dbf44ed520a2dd9f19ebf86f2919112c3e"
|
||||
CHECKSUM_SHA256_3="0a7a666426467e761bbd240d3f6e6e59ad2286f0e52edd2bac8570051c76a324"
|
||||
CHECKSUM_SHA256_4="d5f79186cd4b9221c07cf89b3f038aa073674e13ddd35f2e7e22486b8eb16020"
|
||||
CHECKSUM_SHA256_5="a5a0a957544a5f8cf08c0b67cb503f294b0e1bb20c65766abf9dc3c683d3b9c5"
|
||||
CHECKSUM_SHA256_6="5996751d47d363932fb130dba61257e6ed7efc439bcac0244e4d9768c6b3142f"
|
||||
SOURCE_DIR="rust-$srcGitRev"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
srcGitRev="b515c198d30b5d5e18a15bd167949032659f81dc"
|
||||
SOURCE_URI="https://github.com/nielx/rust/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="ced1585902f9ad107726345ef8873effb03fda72b1d897fd885cd815fd5a3cdf"
|
||||
SOURCE_FILENAME="rust-$srcGitRev.tar.gz"
|
||||
SOURCE_DIR="rust-$srcGitRev"
|
||||
srcGitRev_2="57315f7e07d09b6f0341ebbcd50dded6c20d782f"
|
||||
SOURCE_URI_2="https://github.com/rust-lang/compiler-rt/archive/$srcGitRev_2.tar.gz"
|
||||
CHECKSUM_SHA256_2="244e97dbad67f752a4c394407e0929dbf44ed520a2dd9f19ebf86f2919112c3e"
|
||||
srcGitRev_3="eee85639922229007a63fc17ba9d1144ef84d53d"
|
||||
SOURCE_URI_3="https://github.com/nielx/llvm/archive/$srcGitRev_3.tar.gz"
|
||||
CHECKSUM_SHA256_3="0a7a666426467e761bbd240d3f6e6e59ad2286f0e52edd2bac8570051c76a324"
|
||||
srcGitRev_4="f96680f5a059069a320f62568d5afc88db9a7ec0"
|
||||
SOURCE_URI_4="https://github.com/nielx/rust-installer/archive/$srcGitRev_4.tar.gz"
|
||||
CHECKSUM_SHA256_4="d5f79186cd4b9221c07cf89b3f038aa073674e13ddd35f2e7e22486b8eb16020"
|
||||
srcGitRev_5="4638c60dedfa581fd5fa7c6420d8f32274c9ca0b"
|
||||
SOURCE_URI_5="https://github.com/rust-lang/hoedown/archive/$srcGitRev_5.tar.gz"
|
||||
CHECKSUM_SHA256_5="a5a0a957544a5f8cf08c0b67cb503f294b0e1bb20c65766abf9dc3c683d3b9c5"
|
||||
srcGitRev_6="e1a938af495e2ba7477204fb4f24ccc902605e75"
|
||||
SOURCE_URI_6="https://github.com/nielx/libc/archive/$srcGitRev_6.tar.gz"
|
||||
CHECKSUM_SHA256_6="5996751d47d363932fb130dba61257e6ed7efc439bcac0244e4d9768c6b3142f"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
@@ -36,6 +37,7 @@ PROVIDES="
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
@@ -58,11 +60,11 @@ BUILD_PREREQUIRES="
|
||||
BUILD()
|
||||
{
|
||||
rm -rf src/compiler-rt src/llvm src/rust-installer src/liblibc src/rt/hoedown
|
||||
ln -sf /sources-2/compiler-rt-$srcGitRev2 src/compiler-rt
|
||||
ln -sf /sources-3/llvm-$srcGitRev3 src/llvm
|
||||
ln -sf /sources-4/rust-installer-$srcGitRev4 src/rust-installer
|
||||
ln -sf /sources-5/hoedown-$srcGitRev5 src/rt/hoedown
|
||||
ln -sf /sources-6/libc-$srcGitRev6 src/liblibc
|
||||
ln -sf /sources-2/compiler-rt-$srcGitRev_2 src/compiler-rt
|
||||
ln -sf /sources-3/llvm-$srcGitRev_3 src/llvm
|
||||
ln -sf /sources-4/rust-installer-$srcGitRev_4 src/rust-installer
|
||||
ln -sf /sources-5/hoedown-$srcGitRev_5 src/rt/hoedown
|
||||
ln -sf /sources-6/libc-$srcGitRev_6 src/liblibc
|
||||
# Do not use runConfigure: it generates too much noise, and it creates a totally impossible directory structure
|
||||
#runConfigure --omit-dirs "docDir libExecDir dataRootDir includeDir sharedStateDir sbinDir binDir oldIncludeDir" ./configure --disable-jemalloc --build=i686-unknown-haiku --host=i686-unknown-haiku --target=i686-unknown-haiku
|
||||
|
||||
@@ -108,4 +110,3 @@ TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
|
||||
|
||||
@@ -1,29 +1,30 @@
|
||||
SUMMARY="Modern and safe systems programming language"
|
||||
DESCRIPTION="Rust is a systems programming language that runs blazingly fast, prevents almost all crashes*, and eliminates data races."
|
||||
HOMEPAGE="http://www.rust-lang.org/"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2016, The Rust Project Developers"
|
||||
srcGitRev="e4511258789ee6cf16b23105cf6d691ef1c4a9ca"
|
||||
srcGitRev2="ac3d1cda612edccb6f1da53cbf7716e248405f3b"
|
||||
srcGitRev3="f96680f5a059069a320f62568d5afc88db9a7ec0"
|
||||
srcGitRev4="4638c60dedfa581fd5fa7c6420d8f32274c9ca0b"
|
||||
srcGitRev5="9b1459b6237748b525e0a4ee33f63ee3e1735593"
|
||||
srcGitRev6="0bd1123d8236f2587866b786479bef0aef3f6fe9"
|
||||
SOURCE_URI="https://github.com/nielx/rust/archive/$srcGitRev.tar.gz"
|
||||
SOURCE_URI_2="https://github.com/rust-lang/compiler-rt/archive/$srcGitRev2.tar.gz"
|
||||
SOURCE_URI_3="https://github.com/nielx/rust-installer/archive/$srcGitRev3.tar.gz"
|
||||
SOURCE_URI_4="https://github.com/rust-lang/hoedown/archive/$srcGitRev4.tar.gz"
|
||||
SOURCE_URI_5="https://github.com/nielx/libc/archive/$srcGitRev5.tar.gz"
|
||||
SOURCE_URI_6="https://github.com/nielx/llvm/archive/$srcGitRev6.tar.gz"
|
||||
SOURCE_FILENAME="rust-$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="71a22a71378d441c00cc17dfb76b32bbc69469a24d460b5e63ed918015f463a0"
|
||||
CHECKSUM_SHA256_2="b1c6086509231af13ad8293dd98695e0ac17d1a76808e3fdd30c0ac070abe0aa"
|
||||
CHECKSUM_SHA256_3="d5f79186cd4b9221c07cf89b3f038aa073674e13ddd35f2e7e22486b8eb16020"
|
||||
CHECKSUM_SHA256_4="a5a0a957544a5f8cf08c0b67cb503f294b0e1bb20c65766abf9dc3c683d3b9c5"
|
||||
CHECKSUM_SHA256_5="602d0875cd11eaeac39c1c4e4edab26bc6f99cfefebac7a5bd00066c0962faed"
|
||||
CHECKSUM_SHA256_6="920e505cc75b8332cbbcb7337f8e5596bdf629a1b03be487926fcfbfb6009224"
|
||||
SOURCE_DIR="rust-$srcGitRev"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
srcGitRev="e4511258789ee6cf16b23105cf6d691ef1c4a9ca"
|
||||
SOURCE_URI="https://github.com/nielx/rust/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="71a22a71378d441c00cc17dfb76b32bbc69469a24d460b5e63ed918015f463a0"
|
||||
SOURCE_FILENAME="rust-$srcGitRev.tar.gz"
|
||||
SOURCE_DIR="rust-$srcGitRev"
|
||||
srcGitRev_2="ac3d1cda612edccb6f1da53cbf7716e248405f3b"
|
||||
SOURCE_URI_2="https://github.com/rust-lang/compiler-rt/archive/$srcGitRev_2.tar.gz"
|
||||
CHECKSUM_SHA256_2="b1c6086509231af13ad8293dd98695e0ac17d1a76808e3fdd30c0ac070abe0aa"
|
||||
srcGitRev_3="f96680f5a059069a320f62568d5afc88db9a7ec0"
|
||||
SOURCE_URI_3="https://github.com/nielx/rust-installer/archive/$srcGitRev_3.tar.gz"
|
||||
CHECKSUM_SHA256_3="d5f79186cd4b9221c07cf89b3f038aa073674e13ddd35f2e7e22486b8eb16020"
|
||||
srcGitRev_4="4638c60dedfa581fd5fa7c6420d8f32274c9ca0b"
|
||||
SOURCE_URI_4="https://github.com/rust-lang/hoedown/archive/$srcGitRev_4.tar.gz"
|
||||
CHECKSUM_SHA256_4="a5a0a957544a5f8cf08c0b67cb503f294b0e1bb20c65766abf9dc3c683d3b9c5"
|
||||
srcGitRev_5="9b1459b6237748b525e0a4ee33f63ee3e1735593"
|
||||
SOURCE_URI_5="https://github.com/nielx/libc/archive/$srcGitRev_5.tar.gz"
|
||||
CHECKSUM_SHA256_5="602d0875cd11eaeac39c1c4e4edab26bc6f99cfefebac7a5bd00066c0962faed"
|
||||
srcGitRev_6="0bd1123d8236f2587866b786479bef0aef3f6fe9"
|
||||
SOURCE_URI_6="https://github.com/nielx/llvm/archive/$srcGitRev_6.tar.gz"
|
||||
CHECKSUM_SHA256_6="920e505cc75b8332cbbcb7337f8e5596bdf629a1b03be487926fcfbfb6009224"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
@@ -36,6 +37,7 @@ PROVIDES="
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
binutils${secondaryArchSuffix} == 2.26.1_2016_07_22 # version 2.28.1 will crash when building llvm
|
||||
@@ -60,11 +62,11 @@ BUILD_PREREQUIRES="
|
||||
BUILD()
|
||||
{
|
||||
rm -rf src/compiler-rt src/llvm src/rust-installer src/liblibc src/rt/hoedown
|
||||
ln -sf /sources-2/compiler-rt-$srcGitRev2 src/compiler-rt
|
||||
ln -sf /sources-3/rust-installer-$srcGitRev3 src/rust-installer
|
||||
ln -sf /sources-4/hoedown-$srcGitRev4 src/rt/hoedown
|
||||
ln -sf /sources-5/libc-$srcGitRev5 src/liblibc
|
||||
ln -sf /sources-6/llvm-$srcGitRev6 src/llvm
|
||||
ln -sf /sources-2/compiler-rt-$srcGitRev_2 src/compiler-rt
|
||||
ln -sf /sources-3/rust-installer-$srcGitRev_3 src/rust-installer
|
||||
ln -sf /sources-4/hoedown-$srcGitRev_4 src/rt/hoedown
|
||||
ln -sf /sources-5/libc-$srcGitRev_5 src/liblibc
|
||||
ln -sf /sources-6/llvm-$srcGitRev_6 src/llvm
|
||||
# Do not use runConfigure: it generates too much noise, and it creates a totally impossible directory structure
|
||||
#runConfigure --omit-dirs "docDir libExecDir dataRootDir includeDir sharedStateDir sbinDir binDir oldIncludeDir" ./configure --disable-jemalloc --build=i686-unknown-haiku --host=i686-unknown-haiku --target=i686-unknown-haiku
|
||||
|
||||
|
||||
@@ -1,29 +1,30 @@
|
||||
SUMMARY="Modern and safe systems programming language"
|
||||
DESCRIPTION="Rust is a systems programming language that runs blazingly fast, prevents almost all crashes*, and eliminates data races."
|
||||
HOMEPAGE="http://www.rust-lang.org/"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2016, The Rust Project Developers"
|
||||
srcGitRev="b495ea57163d858facb956a601d78c641149631f"
|
||||
srcGitRev2="8598065bd965d9713bfafb6c1e766d63a7b17b89"
|
||||
srcGitRev3="d66270786797c98a4aa43dc0e5247e2942bb8c46"
|
||||
srcGitRev4="a3736a0a1907cbc8bf619708738815a5fd789c80"
|
||||
srcGitRev5="6c83cf726a3b6b2d1a10ecf932005ba15cf84f23"
|
||||
srcGitRev6="ac1c94226e9fa17005ce7e2dd52dd6d1875f3137"
|
||||
SOURCE_URI="https://github.com/nielx/rust/archive/$srcGitRev.tar.gz"
|
||||
SOURCE_URI_2="https://github.com/rust-lang/compiler-rt/archive/$srcGitRev2.tar.gz"
|
||||
SOURCE_URI_3="https://github.com/nielx/rust-installer/archive/$srcGitRev3.tar.gz"
|
||||
SOURCE_URI_4="https://github.com/rust-lang/hoedown/archive/$srcGitRev4.tar.gz"
|
||||
SOURCE_URI_5="https://github.com/nielx/libc/archive/$srcGitRev5.tar.gz"
|
||||
SOURCE_URI_6="https://github.com/rust-lang/llvm/archive/$srcGitRev6.tar.gz"
|
||||
SOURCE_FILENAME="rust-$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="cd5012f390567e6da592eec525e2373f50a5541a51f9c0540c24be0aad8d4f05"
|
||||
CHECKSUM_SHA256_2="19cab27b6c6906982a6213c745b49f37c75834af1106f2acafc788ffadd84ff7"
|
||||
CHECKSUM_SHA256_3="6d1e18819a61c6cef25c58d50033eb160d32187e755558a486aae73ce2c9e852"
|
||||
CHECKSUM_SHA256_4="29da85607df523a165c1b01a378f929a0b37b75969119b6ec373d95576978b13"
|
||||
CHECKSUM_SHA256_5="e7bdfce7e463c9984d43555951944f9f764190934676e0dbbcdad1f5175986dc"
|
||||
CHECKSUM_SHA256_6="57638407e7713018e5cd4c0de29b52e976ddb248db122c13d6ded89f5f3243ce"
|
||||
SOURCE_DIR="rust-$srcGitRev"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
srcGitRev="b495ea57163d858facb956a601d78c641149631f"
|
||||
SOURCE_URI="https://github.com/nielx/rust/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="cd5012f390567e6da592eec525e2373f50a5541a51f9c0540c24be0aad8d4f05"
|
||||
SOURCE_FILENAME="rust-$srcGitRev.tar.gz"
|
||||
SOURCE_DIR="rust-$srcGitRev"
|
||||
srcGitRev_2="8598065bd965d9713bfafb6c1e766d63a7b17b89"
|
||||
SOURCE_URI_2="https://github.com/rust-lang/compiler-rt/archive/$srcGitRev_2.tar.gz"
|
||||
CHECKSUM_SHA256_2="19cab27b6c6906982a6213c745b49f37c75834af1106f2acafc788ffadd84ff7"
|
||||
srcGitRev_3="d66270786797c98a4aa43dc0e5247e2942bb8c46"
|
||||
SOURCE_URI_3="https://github.com/nielx/rust-installer/archive/$srcGitRev_3.tar.gz"
|
||||
CHECKSUM_SHA256_3="6d1e18819a61c6cef25c58d50033eb160d32187e755558a486aae73ce2c9e852"
|
||||
srcGitRev_4="a3736a0a1907cbc8bf619708738815a5fd789c80"
|
||||
SOURCE_URI_4="https://github.com/rust-lang/hoedown/archive/$srcGitRev_4.tar.gz"
|
||||
CHECKSUM_SHA256_4="29da85607df523a165c1b01a378f929a0b37b75969119b6ec373d95576978b13"
|
||||
srcGitRev_5="6c83cf726a3b6b2d1a10ecf932005ba15cf84f23"
|
||||
SOURCE_URI_5="https://github.com/nielx/libc/archive/$srcGitRev_5.tar.gz"
|
||||
CHECKSUM_SHA256_5="e7bdfce7e463c9984d43555951944f9f764190934676e0dbbcdad1f5175986dc"
|
||||
srcGitRev_6="ac1c94226e9fa17005ce7e2dd52dd6d1875f3137"
|
||||
SOURCE_URI_6="https://github.com/rust-lang/llvm/archive/$srcGitRev_6.tar.gz"
|
||||
CHECKSUM_SHA256_6="57638407e7713018e5cd4c0de29b52e976ddb248db122c13d6ded89f5f3243ce"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
@@ -36,6 +37,7 @@ PROVIDES="
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
binutils${secondaryArchSuffix} == 2.26.1_2016_07_22 # version 2.28.1 will crash when building llvm
|
||||
@@ -60,11 +62,11 @@ BUILD_PREREQUIRES="
|
||||
BUILD()
|
||||
{
|
||||
rm -rf src/compiler-rt src/llvm src/rust-installer src/liblibc src/rt/hoedown
|
||||
ln -sf /sources-2/compiler-rt-$srcGitRev2 src/compiler-rt
|
||||
ln -sf /sources-3/rust-installer-$srcGitRev3 src/rust-installer
|
||||
ln -sf /sources-4/hoedown-$srcGitRev4 src/rt/hoedown
|
||||
ln -sf /sources-5/libc-$srcGitRev5 src/liblibc
|
||||
ln -sf /sources-6/llvm-$srcGitRev6 src/llvm
|
||||
ln -sf /sources-2/compiler-rt-$srcGitRev_2 src/compiler-rt
|
||||
ln -sf /sources-3/rust-installer-$srcGitRev_3 src/rust-installer
|
||||
ln -sf /sources-4/hoedown-$srcGitRev_4 src/rt/hoedown
|
||||
ln -sf /sources-5/libc-$srcGitRev_5 src/liblibc
|
||||
ln -sf /sources-6/llvm-$srcGitRev_6 src/llvm
|
||||
# Do not use runConfigure: it generates too much noise, and it creates a totally impossible directory structure
|
||||
#runConfigure --omit-dirs "docDir libExecDir dataRootDir includeDir sharedStateDir sbinDir binDir oldIncludeDir" ./configure --disable-jemalloc --build=i686-unknown-haiku --host=i686-unknown-haiku --target=i686-unknown-haiku
|
||||
|
||||
|
||||
@@ -1,31 +1,32 @@
|
||||
SUMMARY="Modern and safe systems programming language"
|
||||
DESCRIPTION="Rust is a systems programming language that runs blazingly fast, prevents almost all crashes*, and eliminates data races."
|
||||
HOMEPAGE="http://www.rust-lang.org/"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2016, The Rust Project Developers"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
srcGitRev="2c6933acc05c61e041be764cb1331f6281993f3f"
|
||||
srcGitRev2="ecd2b1f6d689d5afbf5debe8afb3739337323852"
|
||||
srcGitRev3="4f994850808a572e2cc8d43f968893c8e942e9bf"
|
||||
srcGitRev4="a3736a0a1907cbc8bf619708738815a5fd789c80"
|
||||
srcGitRev5="ebeab042e6bb14a447627b57ed9a493e2cc0e095"
|
||||
srcGitRev6="ac1c94226e9fa17005ce7e2dd52dd6d1875f3137"
|
||||
SOURCE_URI="https://github.com/rust-lang/rust/archive/$srcGitRev.tar.gz"
|
||||
SOURCE_URI_2="https://github.com/rust-lang/compiler-rt/archive/$srcGitRev2.tar.gz"
|
||||
SOURCE_URI_3="https://github.com/rust-lang/rust-installer/archive/$srcGitRev3.tar.gz"
|
||||
SOURCE_URI_4="https://github.com/rust-lang/hoedown/archive/$srcGitRev4.tar.gz"
|
||||
SOURCE_URI_5="https://github.com/rust-lang/libc/archive/$srcGitRev5.tar.gz"
|
||||
SOURCE_URI_6="https://github.com/rust-lang/llvm/archive/$srcGitRev6.tar.gz"
|
||||
SOURCE_FILENAME="rust-$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="b17dce437b064a7c7954e4e40a3f1351d3cc33db8efeedbaeeb39e842b77fc8f"
|
||||
CHECKSUM_SHA256_2="f9814fd94717dec7ec2c09ecc17fe6ef25c8b2e95ad16ced020e864b3ad763f5"
|
||||
CHECKSUM_SHA256_3="dc7240d60a869fa24a68c8734fb7c810c27cca0a6dad52df6279865e4e8e7fae"
|
||||
CHECKSUM_SHA256_4="29da85607df523a165c1b01a378f929a0b37b75969119b6ec373d95576978b13"
|
||||
CHECKSUM_SHA256_5="b0896666125315cdcd8cdef98c51529047f59a656de78503fa69782d5376beb7"
|
||||
CHECKSUM_SHA256_6="57638407e7713018e5cd4c0de29b52e976ddb248db122c13d6ded89f5f3243ce"
|
||||
SOURCE_FILENAME="rust-$srcGitRev.tar.gz"
|
||||
SOURCE_DIR="rust-$srcGitRev"
|
||||
srcGitRev_2="ecd2b1f6d689d5afbf5debe8afb3739337323852"
|
||||
SOURCE_URI_2="https://github.com/rust-lang/compiler-rt/archive/$srcGitRev_2.tar.gz"
|
||||
CHECKSUM_SHA256_2="f9814fd94717dec7ec2c09ecc17fe6ef25c8b2e95ad16ced020e864b3ad763f5"
|
||||
srcGitRev_3="4f994850808a572e2cc8d43f968893c8e942e9bf"
|
||||
SOURCE_URI_3="https://github.com/rust-lang/rust-installer/archive/$srcGitRev_3.tar.gz"
|
||||
CHECKSUM_SHA256_3="dc7240d60a869fa24a68c8734fb7c810c27cca0a6dad52df6279865e4e8e7fae"
|
||||
srcGitRev_4="a3736a0a1907cbc8bf619708738815a5fd789c80"
|
||||
SOURCE_URI_4="https://github.com/rust-lang/hoedown/archive/$srcGitRev_4.tar.gz"
|
||||
CHECKSUM_SHA256_4="29da85607df523a165c1b01a378f929a0b37b75969119b6ec373d95576978b13"
|
||||
srcGitRev_5="ebeab042e6bb14a447627b57ed9a493e2cc0e095"
|
||||
SOURCE_URI_5="https://github.com/rust-lang/libc/archive/$srcGitRev_5.tar.gz"
|
||||
CHECKSUM_SHA256_5="b0896666125315cdcd8cdef98c51529047f59a656de78503fa69782d5376beb7"
|
||||
srcGitRev_6="ac1c94226e9fa17005ce7e2dd52dd6d1875f3137"
|
||||
SOURCE_URI_6="https://github.com/rust-lang/llvm/archive/$srcGitRev_6.tar.gz"
|
||||
CHECKSUM_SHA256_6="57638407e7713018e5cd4c0de29b52e976ddb248db122c13d6ded89f5f3243ce"
|
||||
PATCHES="rust-$portVersion.patchset"
|
||||
PATCHES_3="rust-installer-$portVersion.patchset"
|
||||
REVISION="1"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
@@ -38,6 +39,7 @@ PROVIDES="
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
binutils${secondaryArchSuffix} == 2.26.1_2016_07_22 # version 2.28.1 will crash when building llvm
|
||||
@@ -62,11 +64,11 @@ BUILD_PREREQUIRES="
|
||||
BUILD()
|
||||
{
|
||||
rm -rf src/compiler-rt src/llvm src/rust-installer src/liblibc src/rt/hoedown
|
||||
ln -sf /sources-2/compiler-rt-$srcGitRev2 src/compiler-rt
|
||||
ln -sf /sources-3/rust-installer-$srcGitRev3 src/rust-installer
|
||||
ln -sf /sources-4/hoedown-$srcGitRev4 src/rt/hoedown
|
||||
ln -sf /sources-5/libc-$srcGitRev5 src/liblibc
|
||||
ln -sf /sources-6/llvm-$srcGitRev6 src/llvm
|
||||
ln -sf /sources-2/compiler-rt-$srcGitRev_2 src/compiler-rt
|
||||
ln -sf /sources-3/rust-installer-$srcGitRev_3 src/rust-installer
|
||||
ln -sf /sources-4/hoedown-$srcGitRev_4 src/rt/hoedown
|
||||
ln -sf /sources-5/libc-$srcGitRev_5 src/liblibc
|
||||
ln -sf /sources-6/llvm-$srcGitRev_6 src/llvm
|
||||
# Do not use runConfigure: it generates too much noise, and it creates a totally impossible directory structure
|
||||
#runConfigure --omit-dirs "docDir libExecDir dataRootDir includeDir sharedStateDir sbinDir binDir oldIncludeDir" ./configure --disable-jemalloc --build=i686-unknown-haiku --host=i686-unknown-haiku --target=i686-unknown-haiku
|
||||
|
||||
|
||||
@@ -1,31 +1,32 @@
|
||||
SUMMARY="Modern and safe systems programming language"
|
||||
DESCRIPTION="Rust is a systems programming language that runs blazingly fast, prevents almost all crashes*, and eliminates data races."
|
||||
HOMEPAGE="http://www.rust-lang.org/"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2016, The Rust Project Developers"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
srcGitRev="1.14.0"
|
||||
srcGitRev2="3bc0272cab9fdcfc2ef4df9625ec3c9d5909db79"
|
||||
srcGitRev3="4f994850808a572e2cc8d43f968893c8e942e9bf"
|
||||
srcGitRev4="a3736a0a1907cbc8bf619708738815a5fd789c80"
|
||||
srcGitRev5="7d9b71f0971f8fa196d864d7071f216a59036d6e"
|
||||
srcGitRev6="c1d962263bf76a10bea0c761621fcd98d6214b2e"
|
||||
SOURCE_URI="https://github.com/rust-lang/rust/archive/$srcGitRev.tar.gz"
|
||||
SOURCE_URI_2="https://github.com/rust-lang/compiler-rt/archive/$srcGitRev2.tar.gz"
|
||||
SOURCE_URI_3="https://github.com/rust-lang/rust-installer/archive/$srcGitRev3.tar.gz"
|
||||
SOURCE_URI_4="https://github.com/rust-lang/hoedown/archive/$srcGitRev4.tar.gz"
|
||||
SOURCE_URI_5="https://github.com/rust-lang/libc/archive/$srcGitRev5.tar.gz"
|
||||
SOURCE_URI_6="https://github.com/rust-lang/llvm/archive/$srcGitRev6.tar.gz"
|
||||
SOURCE_FILENAME="rust-$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="3517ed84d1d407e3ee819298970d153e9922618295716bcc3ecaec35a8716ddf"
|
||||
CHECKSUM_SHA256_2="92eecb8920cadb1b87aec923a262bbc5825ec2d7d71a83659a949efc76d5c00d"
|
||||
CHECKSUM_SHA256_3="dc7240d60a869fa24a68c8734fb7c810c27cca0a6dad52df6279865e4e8e7fae"
|
||||
CHECKSUM_SHA256_4="29da85607df523a165c1b01a378f929a0b37b75969119b6ec373d95576978b13"
|
||||
CHECKSUM_SHA256_5="51d3ee20ca090493f900ef8be6b3df930848a35f1a79553c61c4c7431da90e4b"
|
||||
CHECKSUM_SHA256_6="8f35394fcb4be0cf9cba18288b6ac7d496c7829f5a6ce2212794019805df8030"
|
||||
SOURCE_FILENAME="rust-$srcGitRev.tar.gz"
|
||||
SOURCE_DIR="rust-$srcGitRev"
|
||||
srcGitRev_2="3bc0272cab9fdcfc2ef4df9625ec3c9d5909db79"
|
||||
SOURCE_URI_2="https://github.com/rust-lang/compiler-rt/archive/$srcGitRev_2.tar.gz"
|
||||
CHECKSUM_SHA256_2="92eecb8920cadb1b87aec923a262bbc5825ec2d7d71a83659a949efc76d5c00d"
|
||||
srcGitRev_3="4f994850808a572e2cc8d43f968893c8e942e9bf"
|
||||
SOURCE_URI_3="https://github.com/rust-lang/rust-installer/archive/$srcGitRev_3.tar.gz"
|
||||
CHECKSUM_SHA256_3="dc7240d60a869fa24a68c8734fb7c810c27cca0a6dad52df6279865e4e8e7fae"
|
||||
srcGitRev_4="a3736a0a1907cbc8bf619708738815a5fd789c80"
|
||||
SOURCE_URI_4="https://github.com/rust-lang/hoedown/archive/$srcGitRev_4.tar.gz"
|
||||
CHECKSUM_SHA256_4="29da85607df523a165c1b01a378f929a0b37b75969119b6ec373d95576978b13"
|
||||
srcGitRev_5="7d9b71f0971f8fa196d864d7071f216a59036d6e"
|
||||
SOURCE_URI_5="https://github.com/rust-lang/libc/archive/$srcGitRev_5.tar.gz"
|
||||
CHECKSUM_SHA256_5="51d3ee20ca090493f900ef8be6b3df930848a35f1a79553c61c4c7431da90e4b"
|
||||
srcGitRev_6="c1d962263bf76a10bea0c761621fcd98d6214b2e"
|
||||
SOURCE_URI_6="https://github.com/rust-lang/llvm/archive/$srcGitRev_6.tar.gz"
|
||||
CHECKSUM_SHA256_6="8f35394fcb4be0cf9cba18288b6ac7d496c7829f5a6ce2212794019805df8030"
|
||||
PATCHES="rust-$portVersion.patchset"
|
||||
PATCHES_3="rust-installer-$portVersion.patchset"
|
||||
REVISION="1"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
@@ -38,6 +39,7 @@ PROVIDES="
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
binutils${secondaryArchSuffix} == 2.26.1_2016_07_22 # version 2.28.1 will crash when building llvm
|
||||
@@ -62,11 +64,11 @@ BUILD_PREREQUIRES="
|
||||
BUILD()
|
||||
{
|
||||
rm -rf src/compiler-rt src/llvm src/rust-installer src/liblibc src/rt/hoedown
|
||||
ln -sf /sources-2/compiler-rt-$srcGitRev2 src/compiler-rt
|
||||
ln -sf /sources-3/rust-installer-$srcGitRev3 src/rust-installer
|
||||
ln -sf /sources-4/hoedown-$srcGitRev4 src/rt/hoedown
|
||||
ln -sf /sources-5/libc-$srcGitRev5 src/liblibc
|
||||
ln -sf /sources-6/llvm-$srcGitRev6 src/llvm
|
||||
ln -sf /sources-2/compiler-rt-$srcGitRev_2 src/compiler-rt
|
||||
ln -sf /sources-3/rust-installer-$srcGitRev_3 src/rust-installer
|
||||
ln -sf /sources-4/hoedown-$srcGitRev_4 src/rt/hoedown
|
||||
ln -sf /sources-5/libc-$srcGitRev_5 src/liblibc
|
||||
ln -sf /sources-6/llvm-$srcGitRev_6 src/llvm
|
||||
# Do not use runConfigure: it generates too much noise, and it creates a totally impossible directory structure
|
||||
#runConfigure --omit-dirs "docDir libExecDir dataRootDir includeDir sharedStateDir sbinDir binDir oldIncludeDir" ./configure --disable-jemalloc --build=i686-unknown-haiku --host=i686-unknown-haiku --target=i686-unknown-haiku
|
||||
|
||||
|
||||
@@ -4,17 +4,17 @@ HOMEPAGE="http://www.rust-lang.org/"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2017, The Rust Project Developers"
|
||||
srcGitRev="1.15.1"
|
||||
srcGitRev2="a8fc4c169fac43a5dc204d4fd56ddb1739f8c178"
|
||||
srcGitRev3="4f994850808a572e2cc8d43f968893c8e942e9bf"
|
||||
srcGitRev4="a3736a0a1907cbc8bf619708738815a5fd789c80"
|
||||
srcGitRev5="0ac39c5ccf6a04395b7c40dd62321cb91f63f160"
|
||||
srcGitRev6="ceb177eeefa7d67ca29230d2e7e8584f97d4fdad"
|
||||
srcGitRev_2="a8fc4c169fac43a5dc204d4fd56ddb1739f8c178"
|
||||
srcGitRev_3="4f994850808a572e2cc8d43f968893c8e942e9bf"
|
||||
srcGitRev_4="a3736a0a1907cbc8bf619708738815a5fd789c80"
|
||||
srcGitRev_5="0ac39c5ccf6a04395b7c40dd62321cb91f63f160"
|
||||
srcGitRev_6="ceb177eeefa7d67ca29230d2e7e8584f97d4fdad"
|
||||
SOURCE_URI="https://github.com/rust-lang/rust/archive/$srcGitRev.tar.gz"
|
||||
SOURCE_URI_2="https://github.com/rust-lang/compiler-rt/archive/$srcGitRev2.tar.gz"
|
||||
SOURCE_URI_3="https://github.com/rust-lang/rust-installer/archive/$srcGitRev3.tar.gz"
|
||||
SOURCE_URI_4="https://github.com/rust-lang/hoedown/archive/$srcGitRev4.tar.gz"
|
||||
SOURCE_URI_5="https://github.com/rust-lang/libc/archive/$srcGitRev5.tar.gz"
|
||||
SOURCE_URI_6="https://github.com/rust-lang/llvm/archive/$srcGitRev6.tar.gz"
|
||||
SOURCE_URI_2="https://github.com/rust-lang/compiler-rt/archive/$srcGitRev_2.tar.gz"
|
||||
SOURCE_URI_3="https://github.com/rust-lang/rust-installer/archive/$srcGitRev_3.tar.gz"
|
||||
SOURCE_URI_4="https://github.com/rust-lang/hoedown/archive/$srcGitRev_4.tar.gz"
|
||||
SOURCE_URI_5="https://github.com/rust-lang/libc/archive/$srcGitRev_5.tar.gz"
|
||||
SOURCE_URI_6="https://github.com/rust-lang/llvm/archive/$srcGitRev_6.tar.gz"
|
||||
SOURCE_URI_7="http://rust-on-haiku.com/downloads/76#noarchive"
|
||||
SOURCE_URI_8="http://rust-on-haiku.com/downloads/77#noarchive"
|
||||
SOURCE_FILENAME="rust-$srcGitRev.tar.gz"
|
||||
@@ -84,11 +84,11 @@ BUILD_PREREQUIRES="
|
||||
BUILD()
|
||||
{
|
||||
rm -rf src/compiler-rt src/llvm src/rust-installer src/liblibc src/rt/hoedown
|
||||
ln -sf /sources-2/compiler-rt-$srcGitRev2 src/compiler-rt
|
||||
ln -sf /sources-3/rust-installer-$srcGitRev3 src/rust-installer
|
||||
ln -sf /sources-4/hoedown-$srcGitRev4 src/rt/hoedown
|
||||
ln -sf /sources-5/libc-$srcGitRev5 src/liblibc
|
||||
ln -sf /sources-6/llvm-$srcGitRev6 src/llvm
|
||||
ln -sf /sources-2/compiler-rt-$srcGitRev_2 src/compiler-rt
|
||||
ln -sf /sources-3/rust-installer-$srcGitRev_3 src/rust-installer
|
||||
ln -sf /sources-4/hoedown-$srcGitRev_4 src/rt/hoedown
|
||||
ln -sf /sources-5/libc-$srcGitRev_5 src/liblibc
|
||||
ln -sf /sources-6/llvm-$srcGitRev_6 src/llvm
|
||||
# Do not use runConfigure: it generates too much noise, and it creates a totally impossible directory structure
|
||||
#runConfigure --omit-dirs "docDir libExecDir dataRootDir includeDir sharedStateDir sbinDir binDir oldIncludeDir" ./configure --disable-jemalloc --build=i686-unknown-haiku --host=i686-unknown-haiku --target=i686-unknown-haiku
|
||||
|
||||
|
||||
@@ -1,36 +1,37 @@
|
||||
SUMMARY="Modern and safe systems programming language"
|
||||
DESCRIPTION="Rust is a systems programming language that runs blazingly fast, prevents almost all crashes*, and eliminates data races."
|
||||
HOMEPAGE="http://www.rust-lang.org/"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2017, The Rust Project Developers"
|
||||
srcGitRev="1.16.0"
|
||||
srcGitRev2="a8fc4c169fac43a5dc204d4fd56ddb1739f8c178"
|
||||
srcGitRev3="4f994850808a572e2cc8d43f968893c8e942e9bf"
|
||||
srcGitRev4="a3736a0a1907cbc8bf619708738815a5fd789c80"
|
||||
srcGitRev5="7d57bdcdbb56540f37afe5a934ce12d33a6ca7fc"
|
||||
srcGitRev6="ceb177eeefa7d67ca29230d2e7e8584f97d4fdad"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
cargoVersion="0.17.0"
|
||||
srcGitRev="1.16.0"
|
||||
SOURCE_URI="https://github.com/rust-lang/rust/archive/$srcGitRev.tar.gz"
|
||||
SOURCE_URI_2="https://github.com/rust-lang/compiler-rt/archive/$srcGitRev2.tar.gz"
|
||||
SOURCE_URI_3="https://github.com/rust-lang/rust-installer/archive/$srcGitRev3.tar.gz"
|
||||
SOURCE_URI_4="https://github.com/rust-lang/hoedown/archive/$srcGitRev4.tar.gz"
|
||||
SOURCE_URI_5="https://github.com/rust-lang/libc/archive/$srcGitRev5.tar.gz"
|
||||
SOURCE_URI_6="https://github.com/rust-lang/llvm/archive/$srcGitRev6.tar.gz"
|
||||
SOURCE_URI_7="https://github.com/rust-lang/cargo/archive/$cargoVersion.tar.gz"
|
||||
SOURCE_FILENAME="rust-$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="b7ec2d24d41ef2c27b1883d54f44a3c0a2eeecaf8c7abc1855f3171f3e0392cb"
|
||||
CHECKSUM_SHA256_2="7d143e0025eb634de5dd2c4ceff22f632cfa065ebbf213068ccacff124732034"
|
||||
CHECKSUM_SHA256_3="dc7240d60a869fa24a68c8734fb7c810c27cca0a6dad52df6279865e4e8e7fae"
|
||||
CHECKSUM_SHA256_4="29da85607df523a165c1b01a378f929a0b37b75969119b6ec373d95576978b13"
|
||||
CHECKSUM_SHA256_5="669d4db37e59ea83449e9ddb8bcccda7c22050763602a7e6d818986f345457b7"
|
||||
CHECKSUM_SHA256_6="0414d14ba98eb1659180a00e78d002b50a6494e6b596145d6fb4262cbb76019b"
|
||||
CHECKSUM_SHA256_7="fc689ca7a09f1e6a1c31e69f0e2616a93576a68e0e1d7f0ae4c0d3301ff21ff8"
|
||||
SOURCE_FILENAME="rust-$srcGitRev.tar.gz"
|
||||
SOURCE_DIR="rust-$srcGitRev"
|
||||
srcGitRev_2="a8fc4c169fac43a5dc204d4fd56ddb1739f8c178"
|
||||
SOURCE_URI_2="https://github.com/rust-lang/compiler-rt/archive/$srcGitRev_2.tar.gz"
|
||||
CHECKSUM_SHA256_2="7d143e0025eb634de5dd2c4ceff22f632cfa065ebbf213068ccacff124732034"
|
||||
srcGitRev_3="4f994850808a572e2cc8d43f968893c8e942e9bf"
|
||||
SOURCE_URI_3="https://github.com/rust-lang/rust-installer/archive/$srcGitRev_3.tar.gz"
|
||||
CHECKSUM_SHA256_3="dc7240d60a869fa24a68c8734fb7c810c27cca0a6dad52df6279865e4e8e7fae"
|
||||
srcGitRev_4="a3736a0a1907cbc8bf619708738815a5fd789c80"
|
||||
SOURCE_URI_4="https://github.com/rust-lang/hoedown/archive/$srcGitRev_4.tar.gz"
|
||||
CHECKSUM_SHA256_4="29da85607df523a165c1b01a378f929a0b37b75969119b6ec373d95576978b13"
|
||||
srcGitRev_5="7d57bdcdbb56540f37afe5a934ce12d33a6ca7fc"
|
||||
SOURCE_URI_5="https://github.com/rust-lang/libc/archive/$srcGitRev_5.tar.gz"
|
||||
CHECKSUM_SHA256_5="669d4db37e59ea83449e9ddb8bcccda7c22050763602a7e6d818986f345457b7"
|
||||
srcGitRev_6="ceb177eeefa7d67ca29230d2e7e8584f97d4fdad"
|
||||
SOURCE_URI_6="https://github.com/rust-lang/llvm/archive/$srcGitRev_6.tar.gz"
|
||||
CHECKSUM_SHA256_6="0414d14ba98eb1659180a00e78d002b50a6494e6b596145d6fb4262cbb76019b"
|
||||
SOURCE_URI_7="https://github.com/rust-lang/cargo/archive/$cargoVersion.tar.gz"
|
||||
CHECKSUM_SHA256_7="fc689ca7a09f1e6a1c31e69f0e2616a93576a68e0e1d7f0ae4c0d3301ff21ff8"
|
||||
PATCHES="rust-$portVersion.patchset"
|
||||
PATCHES_3="rust-installer-$portVersion.patchset"
|
||||
PATCHES_5="rust-libc-$portVersion.patchset"
|
||||
PATCHES_7="cargo-$cargoVersion.patchset"
|
||||
REVISION="1"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
@@ -48,6 +49,7 @@ REQUIRES="
|
||||
lib:libssl$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
binutils${secondaryArchSuffix} == 2.26.1_2016_07_22 # version 2.28.1 will crash when building llvm
|
||||
@@ -78,11 +80,11 @@ BUILD_PREREQUIRES="
|
||||
BUILD()
|
||||
{
|
||||
rm -rf src/compiler-rt src/llvm src/rust-installer src/liblibc src/rt/hoedown
|
||||
ln -sf /sources-2/compiler-rt-$srcGitRev2 src/compiler-rt
|
||||
ln -sf /sources-3/rust-installer-$srcGitRev3 src/rust-installer
|
||||
ln -sf /sources-4/hoedown-$srcGitRev4 src/rt/hoedown
|
||||
ln -sf /sources-5/libc-$srcGitRev5 src/liblibc
|
||||
ln -sf /sources-6/llvm-$srcGitRev6 src/llvm
|
||||
ln -sf /sources-2/compiler-rt-$srcGitRev_2 src/compiler-rt
|
||||
ln -sf /sources-3/rust-installer-$srcGitRev_3 src/rust-installer
|
||||
ln -sf /sources-4/hoedown-$srcGitRev_4 src/rt/hoedown
|
||||
ln -sf /sources-5/libc-$srcGitRev_5 src/liblibc
|
||||
ln -sf /sources-6/llvm-$srcGitRev_6 src/llvm
|
||||
# Do not use runConfigure: it generates too much noise, and it creates a totally impossible directory structure
|
||||
#runConfigure --omit-dirs "docDir libExecDir dataRootDir includeDir sharedStateDir sbinDir binDir oldIncludeDir" ./configure --disable-jemalloc --build=i686-unknown-haiku --host=i686-unknown-haiku --target=i686-unknown-haiku
|
||||
./configure --prefix=$prefix --mandir=$manDir --disable-jemalloc \
|
||||
@@ -105,7 +107,7 @@ BUILD()
|
||||
|
||||
cd /sources-7/cargo-$cargoVersion
|
||||
rm -rf src/rust-installer
|
||||
ln -sf /sources-3/rust-installer-$srcGitRev3 src/rust-installer
|
||||
ln -sf /sources-3/rust-installer-$srcGitRev_3 src/rust-installer
|
||||
LIBRARY_PATH=/sources/rust-$portVersion/$architecture/stage2/lib:$LIBRARY_PATH \
|
||||
./configure --prefix=$prefix --datadir=$dataDir --mandir=$manDir \
|
||||
--docdir=$docDir --sysconfdir=$dataDir \
|
||||
|
||||
@@ -1,45 +1,46 @@
|
||||
SUMMARY="Modern and safe systems programming language"
|
||||
DESCRIPTION="Rust is a systems programming language that runs blazingly fast, prevents almost all crashes*, and eliminates data races."
|
||||
HOMEPAGE="http://www.rust-lang.org/"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2017, The Rust Project Developers"
|
||||
srcGitRev="1.17.0"
|
||||
srcGitRev2="d812b1641f798e38de9fa372476d42cdb6908c01"
|
||||
srcGitRev3="4f994850808a572e2cc8d43f968893c8e942e9bf"
|
||||
srcGitRev4="da282f1bb7277b4d30fa1599ee29ad8eb4dd2a92"
|
||||
srcGitRev5="64d954c6a76e896fbf7ed5c17e77c40e388abe84"
|
||||
srcGitRev6="2e951c3ae354bcbd2e50b30798e232949a926b75"
|
||||
LICENSE="MIT"
|
||||
REVISION="2"
|
||||
cargoVersion="0.18.0"
|
||||
srcGitRev8="d08fe97d12b41c1ed8cc7701e545864132783941"
|
||||
srcGitRev9="2d23ea601f017c106a2303094ee1c57ba856d246"
|
||||
srcGitRev10="0.1.6"
|
||||
srcGitRev="1.17.0"
|
||||
SOURCE_URI="https://github.com/rust-lang/rust/archive/$srcGitRev.tar.gz"
|
||||
SOURCE_URI_2="https://github.com/rust-lang/compiler-rt/archive/$srcGitRev2.tar.gz"
|
||||
SOURCE_URI_3="https://github.com/rust-lang/rust-installer/archive/$srcGitRev3.tar.gz"
|
||||
SOURCE_URI_4="https://github.com/rust-lang/hoedown/archive/$srcGitRev4.tar.gz"
|
||||
SOURCE_URI_5="https://github.com/rust-lang/libc/archive/$srcGitRev5.tar.gz"
|
||||
SOURCE_URI_6="https://github.com/rust-lang/llvm/archive/$srcGitRev6.tar.gz"
|
||||
SOURCE_URI_7="https://github.com/rust-lang/cargo/archive/$cargoVersion.tar.gz"
|
||||
SOURCE_URI_8="https://github.com/rust-lang-nursery/nomicon/archive/$srcGitRev8.tar.gz"
|
||||
SOURCE_URI_9="https://github.com/rust-lang-nursery/reference/archive/$srcGitRev9.tar.gz"
|
||||
SOURCE_URI_10="https://github.com/alexcrichton/cargo-vendor/archive/$srcGitRev10.tar.gz"
|
||||
SOURCE_FILENAME="rust-$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="91c59dfc727dd56114b11badf60ada8338d6afd2a5fb797b1e1886ef60dd3fbe"
|
||||
CHECKSUM_SHA256_2="a1d7a2c248c01499518f54735038030651c62fe8f0d580987ac52be20a13e93b"
|
||||
CHECKSUM_SHA256_3="dc7240d60a869fa24a68c8734fb7c810c27cca0a6dad52df6279865e4e8e7fae"
|
||||
CHECKSUM_SHA256_4="623889a326754e93a4a7a8a3487699ea786f4ca9b118f7468c12f8b9966905e6"
|
||||
CHECKSUM_SHA256_5="62f91d74cffe78b9e18707fd8b02dbd8dca731486d6f5cd9ceca92034d1149a3"
|
||||
CHECKSUM_SHA256_6="a85cc4847370573d194af95d6794304479d1024863c754d9b4e2499478c41393"
|
||||
CHECKSUM_SHA256_7="19b5c142c194fc2f940d93b4679850980ed077db0ff7c558122c7ef865e24983"
|
||||
CHECKSUM_SHA256_8="39060572afca31c02f2f5eafc5d94c7b1930af7d3c8b4d8b81bd904d640dc37a"
|
||||
CHECKSUM_SHA256_9="8acfa0b31fa2e0780d4de5ec1ba76154f16db8f02e3d23c04d34dcecae6189a7"
|
||||
CHECKSUM_SHA256_10="927f6b782f0be32c6027335bbd49fb40cffa922095ffacc9a0aca78e45023f1a"
|
||||
SOURCE_FILENAME="rust-$srcGitRev.tar.gz"
|
||||
SOURCE_DIR="rust-$srcGitRev"
|
||||
srcGitRev_2="d812b1641f798e38de9fa372476d42cdb6908c01"
|
||||
SOURCE_URI_2="https://github.com/rust-lang/compiler-rt/archive/$srcGitRev_2.tar.gz"
|
||||
CHECKSUM_SHA256_2="a1d7a2c248c01499518f54735038030651c62fe8f0d580987ac52be20a13e93b"
|
||||
srcGitRev_3="4f994850808a572e2cc8d43f968893c8e942e9bf"
|
||||
SOURCE_URI_3="https://github.com/rust-lang/rust-installer/archive/$srcGitRev_3.tar.gz"
|
||||
CHECKSUM_SHA256_3="dc7240d60a869fa24a68c8734fb7c810c27cca0a6dad52df6279865e4e8e7fae"
|
||||
srcGitRev_4="da282f1bb7277b4d30fa1599ee29ad8eb4dd2a92"
|
||||
SOURCE_URI_4="https://github.com/rust-lang/hoedown/archive/$srcGitRev_4.tar.gz"
|
||||
CHECKSUM_SHA256_4="623889a326754e93a4a7a8a3487699ea786f4ca9b118f7468c12f8b9966905e6"
|
||||
srcGitRev_5="64d954c6a76e896fbf7ed5c17e77c40e388abe84"
|
||||
SOURCE_URI_5="https://github.com/rust-lang/libc/archive/$srcGitRev_5.tar.gz"
|
||||
CHECKSUM_SHA256_5="62f91d74cffe78b9e18707fd8b02dbd8dca731486d6f5cd9ceca92034d1149a3"
|
||||
srcGitRev_6="2e951c3ae354bcbd2e50b30798e232949a926b75"
|
||||
SOURCE_URI_6="https://github.com/rust-lang/llvm/archive/$srcGitRev_6.tar.gz"
|
||||
CHECKSUM_SHA256_6="a85cc4847370573d194af95d6794304479d1024863c754d9b4e2499478c41393"
|
||||
SOURCE_URI_7="https://github.com/rust-lang/cargo/archive/$cargoVersion.tar.gz"
|
||||
CHECKSUM_SHA256_7="19b5c142c194fc2f940d93b4679850980ed077db0ff7c558122c7ef865e24983"
|
||||
srcGitRev_8="d08fe97d12b41c1ed8cc7701e545864132783941"
|
||||
SOURCE_URI_8="https://github.com/rust-lang-nursery/nomicon/archive/$srcGitRev_8.tar.gz"
|
||||
CHECKSUM_SHA256_8="39060572afca31c02f2f5eafc5d94c7b1930af7d3c8b4d8b81bd904d640dc37a"
|
||||
srcGitRev_9="2d23ea601f017c106a2303094ee1c57ba856d246"
|
||||
SOURCE_URI_9="https://github.com/rust-lang-nursery/reference/archive/$srcGitRev_9.tar.gz"
|
||||
CHECKSUM_SHA256_9="8acfa0b31fa2e0780d4de5ec1ba76154f16db8f02e3d23c04d34dcecae6189a7"
|
||||
srcGitRev_10="0.1.6"
|
||||
SOURCE_URI_10="https://github.com/alexcrichton/cargo-vendor/archive/$srcGitRev_10.tar.gz"
|
||||
CHECKSUM_SHA256_10="927f6b782f0be32c6027335bbd49fb40cffa922095ffacc9a0aca78e45023f1a"
|
||||
PATCHES="rust-$portVersion.patchset"
|
||||
PATCHES_3="rust-installer-$portVersion.patchset"
|
||||
PATCHES_7="cargo-$cargoVersion.patchset"
|
||||
PATCHES_10="cargo-vendor-$srcGitRev10.patchset"
|
||||
REVISION="2"
|
||||
PATCHES_10="cargo-vendor-$srcGitRev_10.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
@@ -58,6 +59,7 @@ REQUIRES="
|
||||
lib:libssl$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libcurl$secondaryArchSuffix
|
||||
@@ -91,14 +93,14 @@ BUILD()
|
||||
# copy them
|
||||
rm -rf cargo src/compiler-rt src/llvm src/rust-installer \
|
||||
src/liblibc src/rt/hoedown src/doc/nomicon src/doc/reference
|
||||
cp -r /sources-2/compiler-rt-$srcGitRev2 src/compiler-rt
|
||||
cp -r /sources-3/rust-installer-$srcGitRev3 src/rust-installer
|
||||
cp -r /sources-4/hoedown-$srcGitRev4 src/rt/hoedown
|
||||
cp -r /sources-5/libc-$srcGitRev5 src/liblibc
|
||||
cp -r /sources-6/llvm-$srcGitRev6 src/llvm
|
||||
cp -r /sources-2/compiler-rt-$srcGitRev_2 src/compiler-rt
|
||||
cp -r /sources-3/rust-installer-$srcGitRev_3 src/rust-installer
|
||||
cp -r /sources-4/hoedown-$srcGitRev_4 src/rt/hoedown
|
||||
cp -r /sources-5/libc-$srcGitRev_5 src/liblibc
|
||||
cp -r /sources-6/llvm-$srcGitRev_6 src/llvm
|
||||
cp -r /sources-7/cargo-$cargoVersion cargo
|
||||
cp -r /sources-8/nomicon-$srcGitRev8 src/doc/nomicon
|
||||
cp -r /sources-9/reference-$srcGitRev9 src/doc/reference
|
||||
cp -r /sources-8/nomicon-$srcGitRev_8 src/doc/nomicon
|
||||
cp -r /sources-9/reference-$srcGitRev_9 src/doc/reference
|
||||
|
||||
# write the build configuration
|
||||
cat >config.toml <<- EOL
|
||||
@@ -125,7 +127,7 @@ EOL
|
||||
|
||||
# the install step of rust depends on the cargo vendor command
|
||||
# build it separately here
|
||||
cd /sources-10/cargo-vendor-$srcGitRev10
|
||||
cd /sources-10/cargo-vendor-$srcGitRev_10
|
||||
cargo install --force
|
||||
|
||||
# now build rust and cargo
|
||||
|
||||
@@ -1,52 +1,53 @@
|
||||
SUMMARY="Modern and safe systems programming language"
|
||||
DESCRIPTION="Rust is a systems programming language that runs blazingly fast, prevents almost all crashes*, and eliminates data races."
|
||||
HOMEPAGE="http://www.rust-lang.org/"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2017, The Rust Project Developers"
|
||||
srcGitRev="1.18.0"
|
||||
srcGitRev2="d812b1641f798e38de9fa372476d42cdb6908c01"
|
||||
srcGitRev3="4f994850808a572e2cc8d43f968893c8e942e9bf"
|
||||
srcGitRev4="da282f1bb7277b4d30fa1599ee29ad8eb4dd2a92"
|
||||
srcGitRev5="c34a802d1eb037b44c5252078c7270b5472e0f65"
|
||||
srcGitRev6="2e951c3ae354bcbd2e50b30798e232949a926b75"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
cargoVersion="0.19.0"
|
||||
srcGitRev8="616b98444ff4eb5260deee95ee3e090dfd98b947"
|
||||
srcGitRev9="6b0de90d87dda15e323ef24cdf7ed873ac5cf4d3"
|
||||
srcGitRev10="ad7de198561b3a12217ea2da76d796d9c7fc0ed3"
|
||||
srcGitRev11="6ecff95fdc3ee7ceed2b9b0cc1a3a64876860bce"
|
||||
srcGitRev12="0.1.6"
|
||||
srcGitRev="1.18.0"
|
||||
SOURCE_URI="https://github.com/rust-lang/rust/archive/$srcGitRev.tar.gz"
|
||||
SOURCE_URI_2="https://github.com/rust-lang/compiler-rt/archive/$srcGitRev2.tar.gz"
|
||||
SOURCE_URI_3="https://github.com/rust-lang/rust-installer/archive/$srcGitRev3.tar.gz"
|
||||
SOURCE_URI_4="https://github.com/rust-lang/hoedown/archive/$srcGitRev4.tar.gz"
|
||||
SOURCE_URI_5="https://github.com/rust-lang/libc/archive/$srcGitRev5.tar.gz"
|
||||
SOURCE_URI_6="https://github.com/rust-lang/llvm/archive/$srcGitRev6.tar.gz"
|
||||
SOURCE_URI_7="https://github.com/rust-lang/cargo/archive/$cargoVersion.tar.gz"
|
||||
SOURCE_URI_8="https://github.com/rust-lang-nursery/nomicon/archive/$srcGitRev8.tar.gz"
|
||||
SOURCE_URI_9="https://github.com/rust-lang-nursery/reference/archive/$srcGitRev9.tar.gz"
|
||||
SOURCE_URI_10="https://github.com/rust-lang/book/archive/$srcGitRev10.tar.gz"
|
||||
SOURCE_URI_11="https://github.com/rust-lang-nursery/rls/archive/$srcGitRev11.tar.gz"
|
||||
SOURCE_URI_12="https://github.com/alexcrichton/cargo-vendor/archive/$srcGitRev12.tar.gz"
|
||||
SOURCE_FILENAME="rust-$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="77720ad4bf93175a73a94507fbf68c669bb66cf7c9a071f59a25510a4dfa1dbd"
|
||||
CHECKSUM_SHA256_2="a1d7a2c248c01499518f54735038030651c62fe8f0d580987ac52be20a13e93b"
|
||||
CHECKSUM_SHA256_3="dc7240d60a869fa24a68c8734fb7c810c27cca0a6dad52df6279865e4e8e7fae"
|
||||
CHECKSUM_SHA256_4="623889a326754e93a4a7a8a3487699ea786f4ca9b118f7468c12f8b9966905e6"
|
||||
CHECKSUM_SHA256_5="3616106943b3d3a345fc85ec02e9e125f80f60ea2f9384d4c5d6286c7142cfbd"
|
||||
CHECKSUM_SHA256_6="a85cc4847370573d194af95d6794304479d1024863c754d9b4e2499478c41393"
|
||||
CHECKSUM_SHA256_7="9ea59d17a7fa81aa4bdefa2bb45a5315219414386753eaf0988cadd465550b40"
|
||||
CHECKSUM_SHA256_8="ee080d47da2204094195362d91818cd56350c9c7e0969d78fc6d55c59529fce4"
|
||||
CHECKSUM_SHA256_9="7fca934f5ab6c08ba38376a6847cf6c6a1405794148d107bffa715c46f634bb4"
|
||||
CHECKSUM_SHA256_10="31d77c9ccb2924f8381a09b6eb8b7efe74fbc280c581a21728e0c50878413ec0"
|
||||
CHECKSUM_SHA256_11="e1ad31337422f9b05f57f43266048935f246cc35ca53671feceb9e6208bc4b40"
|
||||
CHECKSUM_SHA256_12="927f6b782f0be32c6027335bbd49fb40cffa922095ffacc9a0aca78e45023f1a"
|
||||
SOURCE_FILENAME="rust-$srcGitRev.tar.gz"
|
||||
SOURCE_DIR="rust-$srcGitRev"
|
||||
srcGitRev_2="d812b1641f798e38de9fa372476d42cdb6908c01"
|
||||
SOURCE_URI_2="https://github.com/rust-lang/compiler-rt/archive/$srcGitRev_2.tar.gz"
|
||||
CHECKSUM_SHA256_2="a1d7a2c248c01499518f54735038030651c62fe8f0d580987ac52be20a13e93b"
|
||||
srcGitRev_3="4f994850808a572e2cc8d43f968893c8e942e9bf"
|
||||
SOURCE_URI_3="https://github.com/rust-lang/rust-installer/archive/$srcGitRev_3.tar.gz"
|
||||
CHECKSUM_SHA256_3="dc7240d60a869fa24a68c8734fb7c810c27cca0a6dad52df6279865e4e8e7fae"
|
||||
srcGitRev_4="da282f1bb7277b4d30fa1599ee29ad8eb4dd2a92"
|
||||
SOURCE_URI_4="https://github.com/rust-lang/hoedown/archive/$srcGitRev_4.tar.gz"
|
||||
CHECKSUM_SHA256_4="623889a326754e93a4a7a8a3487699ea786f4ca9b118f7468c12f8b9966905e6"
|
||||
srcGitRev_5="c34a802d1eb037b44c5252078c7270b5472e0f65"
|
||||
SOURCE_URI_5="https://github.com/rust-lang/libc/archive/$srcGitRev_5.tar.gz"
|
||||
CHECKSUM_SHA256_5="3616106943b3d3a345fc85ec02e9e125f80f60ea2f9384d4c5d6286c7142cfbd"
|
||||
srcGitRev_6="2e951c3ae354bcbd2e50b30798e232949a926b75"
|
||||
SOURCE_URI_6="https://github.com/rust-lang/llvm/archive/$srcGitRev_6.tar.gz"
|
||||
CHECKSUM_SHA256_6="a85cc4847370573d194af95d6794304479d1024863c754d9b4e2499478c41393"
|
||||
SOURCE_URI_7="https://github.com/rust-lang/cargo/archive/$cargoVersion.tar.gz"
|
||||
CHECKSUM_SHA256_7="9ea59d17a7fa81aa4bdefa2bb45a5315219414386753eaf0988cadd465550b40"
|
||||
srcGitRev_8="616b98444ff4eb5260deee95ee3e090dfd98b947"
|
||||
SOURCE_URI_8="https://github.com/rust-lang-nursery/nomicon/archive/$srcGitRev_8.tar.gz"
|
||||
CHECKSUM_SHA256_8="ee080d47da2204094195362d91818cd56350c9c7e0969d78fc6d55c59529fce4"
|
||||
srcGitRev_9="6b0de90d87dda15e323ef24cdf7ed873ac5cf4d3"
|
||||
SOURCE_URI_9="https://github.com/rust-lang-nursery/reference/archive/$srcGitRev_9.tar.gz"
|
||||
CHECKSUM_SHA256_9="7fca934f5ab6c08ba38376a6847cf6c6a1405794148d107bffa715c46f634bb4"
|
||||
srcGitRev_10="ad7de198561b3a12217ea2da76d796d9c7fc0ed3"
|
||||
SOURCE_URI_10="https://github.com/rust-lang/book/archive/$srcGitRev_10.tar.gz"
|
||||
CHECKSUM_SHA256_10="31d77c9ccb2924f8381a09b6eb8b7efe74fbc280c581a21728e0c50878413ec0"
|
||||
srcGitRev_11="6ecff95fdc3ee7ceed2b9b0cc1a3a64876860bce"
|
||||
SOURCE_URI_11="https://github.com/rust-lang-nursery/rls/archive/$srcGitRev_11.tar.gz"
|
||||
CHECKSUM_SHA256_11="e1ad31337422f9b05f57f43266048935f246cc35ca53671feceb9e6208bc4b40"
|
||||
srcGitRev_12="0.1.6"
|
||||
SOURCE_URI_12="https://github.com/alexcrichton/cargo-vendor/archive/$srcGitRev_12.tar.gz"
|
||||
CHECKSUM_SHA256_12="927f6b782f0be32c6027335bbd49fb40cffa922095ffacc9a0aca78e45023f1a"
|
||||
PATCHES="rust-$portVersion.patchset"
|
||||
PATCHES_3="rust-installer-$portVersion.patchset"
|
||||
PATCHES_7="cargo-$cargoVersion.patchset"
|
||||
PATCHES_11="rust-rls-$portVersion.patchset"
|
||||
PATCHES_12="cargo-vendor-$srcGitRev12.patchset"
|
||||
REVISION="1"
|
||||
PATCHES_12="cargo-vendor-$srcGitRev_12.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
@@ -66,6 +67,7 @@ REQUIRES="
|
||||
lib:libssl$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libcurl$secondaryArchSuffix
|
||||
@@ -100,16 +102,16 @@ BUILD()
|
||||
rm -rf cargo src/compiler-rt src/llvm src/rust-installer \
|
||||
src/liblibc src/rt/hoedown src/doc/nomicon src/doc/reference \
|
||||
src/doc/book rls
|
||||
cp -r /sources-2/compiler-rt-$srcGitRev2 src/compiler-rt
|
||||
cp -r /sources-3/rust-installer-$srcGitRev3 src/rust-installer
|
||||
cp -r /sources-4/hoedown-$srcGitRev4 src/rt/hoedown
|
||||
cp -r /sources-5/libc-$srcGitRev5 src/liblibc
|
||||
cp -r /sources-6/llvm-$srcGitRev6 src/llvm
|
||||
cp -r /sources-2/compiler-rt-$srcGitRev_2 src/compiler-rt
|
||||
cp -r /sources-3/rust-installer-$srcGitRev_3 src/rust-installer
|
||||
cp -r /sources-4/hoedown-$srcGitRev_4 src/rt/hoedown
|
||||
cp -r /sources-5/libc-$srcGitRev_5 src/liblibc
|
||||
cp -r /sources-6/llvm-$srcGitRev_6 src/llvm
|
||||
cp -r /sources-7/cargo-$cargoVersion cargo
|
||||
cp -r /sources-8/nomicon-$srcGitRev8 src/doc/nomicon
|
||||
cp -r /sources-9/reference-$srcGitRev9 src/doc/reference
|
||||
cp -r /sources-10/book-$srcGitRev10 src/doc/book
|
||||
cp -r /sources-11/rls-$srcGitRev11 rls
|
||||
cp -r /sources-8/nomicon-$srcGitRev_8 src/doc/nomicon
|
||||
cp -r /sources-9/reference-$srcGitRev_9 src/doc/reference
|
||||
cp -r /sources-10/book-$srcGitRev_10 src/doc/book
|
||||
cp -r /sources-11/rls-$srcGitRev_11 rls
|
||||
|
||||
# write the build configuration
|
||||
cat >config.toml <<- EOL
|
||||
@@ -136,7 +138,7 @@ EOL
|
||||
|
||||
# the install step of rust depends on the cargo vendor command
|
||||
# build it separately here
|
||||
cd /sources-12/cargo-vendor-$srcGitRev12
|
||||
cd /sources-12/cargo-vendor-$srcGitRev_12
|
||||
cargo install --force
|
||||
|
||||
# now build rust and cargo
|
||||
|
||||
@@ -1,50 +1,51 @@
|
||||
SUMMARY="Modern and safe systems programming language"
|
||||
DESCRIPTION="Rust is a systems programming language that runs blazingly fast, prevents almost all crashes*, and eliminates data races."
|
||||
HOMEPAGE="http://www.rust-lang.org/"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2017, The Rust Project Developers"
|
||||
srcGitRev="1.19.0"
|
||||
srcGitRev2="c8a8767c56ad3d3f4eb45c87b95026936fb9aa35"
|
||||
srcGitRev3="b4ff403041f17957f735ad750c3241a3a428b9b7"
|
||||
srcGitRev4="da282f1bb7277b4d30fa1599ee29ad8eb4dd2a92"
|
||||
srcGitRev5="03562b0cb26a00f49d4eaf18ca3e49608110b0c8"
|
||||
srcGitRev6="2153316469829c338eab18835b879d01c3a986a8"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
cargoVersion="0.20.0"
|
||||
srcGitRev8="c0e8c56d76bdf6bd16c64338f81c04d48c60f117"
|
||||
srcGitRev9="876582e9d0fbdc9cecb03133c28db96e9ff8c844"
|
||||
srcGitRev10="ad7de198561b3a12217ea2da76d796d9c7fc0ed3"
|
||||
srcGitRev11="bfe80cfa8db75500e67ca8762465d27662674637"
|
||||
srcGitRev12="0.1.6"
|
||||
srcGitRev="1.19.0"
|
||||
SOURCE_URI="https://github.com/rust-lang/rust/archive/$srcGitRev.tar.gz"
|
||||
SOURCE_URI_2="https://github.com/rust-lang/compiler-rt/archive/$srcGitRev2.tar.gz"
|
||||
SOURCE_URI_3="https://github.com/rust-lang/rust-installer/archive/$srcGitRev3.tar.gz"
|
||||
SOURCE_URI_4="https://github.com/rust-lang/hoedown/archive/$srcGitRev4.tar.gz"
|
||||
SOURCE_URI_5="https://github.com/rust-lang/libc/archive/$srcGitRev5.tar.gz"
|
||||
SOURCE_URI_6="https://github.com/rust-lang/llvm/archive/$srcGitRev6.tar.gz"
|
||||
SOURCE_URI_7="https://github.com/rust-lang/cargo/archive/$cargoVersion.tar.gz"
|
||||
SOURCE_URI_8="https://github.com/rust-lang-nursery/nomicon/archive/$srcGitRev8.tar.gz"
|
||||
SOURCE_URI_9="https://github.com/rust-lang-nursery/reference/archive/$srcGitRev9.tar.gz"
|
||||
SOURCE_URI_10="https://github.com/rust-lang/book/archive/$srcGitRev10.tar.gz"
|
||||
SOURCE_URI_11="https://github.com/rust-lang-nursery/rls/archive/$srcGitRev11.tar.gz"
|
||||
SOURCE_URI_12="https://github.com/alexcrichton/cargo-vendor/archive/$srcGitRev12.tar.gz"
|
||||
SOURCE_FILENAME="rust-$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="7e1ecb476118b79b5abed02bc7a724bb65413057e26f1d2b8538c572f7463be0"
|
||||
CHECKSUM_SHA256_2="ac595c03dd5dcd3ad66eee76bec2e95770259e4aa4db5df875c2bbcf7781a441"
|
||||
CHECKSUM_SHA256_3="dfcce5a555e0aff5f7ba7681968b77529c806c3109ede78eb1b45a0c4455db4b"
|
||||
CHECKSUM_SHA256_4="623889a326754e93a4a7a8a3487699ea786f4ca9b118f7468c12f8b9966905e6"
|
||||
CHECKSUM_SHA256_5="2ecccc8810c1e84e1b8bbcb564c96d1df5aefce13663efc006621a30685a9e4f"
|
||||
CHECKSUM_SHA256_6="495850c84eab4f20277a839a12283dd27fb9e61daf0c7dec0e76d1bc1a5a437b"
|
||||
CHECKSUM_SHA256_7="f0e21d23cffd3510ba8a65e6a4d1010073afc0e573d9d92c23d22b868ca0bc42"
|
||||
CHECKSUM_SHA256_8="a15a4bbc86a207e9cc9604ed0f7a7039f9365034063096e4f6e44eb8832fffec"
|
||||
CHECKSUM_SHA256_9="0c5e47826948cf30345cd5c09f237566dfc995b7f1f2c8751e306c5488f05ecb"
|
||||
CHECKSUM_SHA256_10="31d77c9ccb2924f8381a09b6eb8b7efe74fbc280c581a21728e0c50878413ec0"
|
||||
CHECKSUM_SHA256_11="666ba8fb85cd875471ba1d71c9e674516cd7891ea954721276a9a99a1e4aa7d8"
|
||||
CHECKSUM_SHA256_12="927f6b782f0be32c6027335bbd49fb40cffa922095ffacc9a0aca78e45023f1a"
|
||||
SOURCE_FILENAME="rust-$srcGitRev.tar.gz"
|
||||
SOURCE_DIR="rust-$srcGitRev"
|
||||
srcGitRev_2="c8a8767c56ad3d3f4eb45c87b95026936fb9aa35"
|
||||
SOURCE_URI_2="https://github.com/rust-lang/compiler-rt/archive/$srcGitRev_2.tar.gz"
|
||||
CHECKSUM_SHA256_2="ac595c03dd5dcd3ad66eee76bec2e95770259e4aa4db5df875c2bbcf7781a441"
|
||||
srcGitRev_3="b4ff403041f17957f735ad750c3241a3a428b9b7"
|
||||
SOURCE_URI_3="https://github.com/rust-lang/rust-installer/archive/$srcGitRev_3.tar.gz"
|
||||
CHECKSUM_SHA256_3="dfcce5a555e0aff5f7ba7681968b77529c806c3109ede78eb1b45a0c4455db4b"
|
||||
srcGitRev_4="da282f1bb7277b4d30fa1599ee29ad8eb4dd2a92"
|
||||
SOURCE_URI_4="https://github.com/rust-lang/hoedown/archive/$srcGitRev_4.tar.gz"
|
||||
CHECKSUM_SHA256_4="623889a326754e93a4a7a8a3487699ea786f4ca9b118f7468c12f8b9966905e6"
|
||||
srcGitRev_5="03562b0cb26a00f49d4eaf18ca3e49608110b0c8"
|
||||
SOURCE_URI_5="https://github.com/rust-lang/libc/archive/$srcGitRev_5.tar.gz"
|
||||
CHECKSUM_SHA256_5="2ecccc8810c1e84e1b8bbcb564c96d1df5aefce13663efc006621a30685a9e4f"
|
||||
srcGitRev_6="2153316469829c338eab18835b879d01c3a986a8"
|
||||
SOURCE_URI_6="https://github.com/rust-lang/llvm/archive/$srcGitRev_6.tar.gz"
|
||||
CHECKSUM_SHA256_6="495850c84eab4f20277a839a12283dd27fb9e61daf0c7dec0e76d1bc1a5a437b"
|
||||
SOURCE_URI_7="https://github.com/rust-lang/cargo/archive/$cargoVersion.tar.gz"
|
||||
CHECKSUM_SHA256_7="f0e21d23cffd3510ba8a65e6a4d1010073afc0e573d9d92c23d22b868ca0bc42"
|
||||
srcGitRev_8="c0e8c56d76bdf6bd16c64338f81c04d48c60f117"
|
||||
SOURCE_URI_8="https://github.com/rust-lang-nursery/nomicon/archive/$srcGitRev_8.tar.gz"
|
||||
CHECKSUM_SHA256_8="a15a4bbc86a207e9cc9604ed0f7a7039f9365034063096e4f6e44eb8832fffec"
|
||||
srcGitRev_9="876582e9d0fbdc9cecb03133c28db96e9ff8c844"
|
||||
SOURCE_URI_9="https://github.com/rust-lang-nursery/reference/archive/$srcGitRev_9.tar.gz"
|
||||
CHECKSUM_SHA256_9="0c5e47826948cf30345cd5c09f237566dfc995b7f1f2c8751e306c5488f05ecb"
|
||||
srcGitRev_10="ad7de198561b3a12217ea2da76d796d9c7fc0ed3"
|
||||
SOURCE_URI_10="https://github.com/rust-lang/book/archive/$srcGitRev_10.tar.gz"
|
||||
CHECKSUM_SHA256_10="31d77c9ccb2924f8381a09b6eb8b7efe74fbc280c581a21728e0c50878413ec0"
|
||||
srcGitRev_11="bfe80cfa8db75500e67ca8762465d27662674637"
|
||||
SOURCE_URI_11="https://github.com/rust-lang-nursery/rls/archive/$srcGitRev_11.tar.gz"
|
||||
CHECKSUM_SHA256_11="666ba8fb85cd875471ba1d71c9e674516cd7891ea954721276a9a99a1e4aa7d8"
|
||||
srcGitRev_12="0.1.6"
|
||||
SOURCE_URI_12="https://github.com/alexcrichton/cargo-vendor/archive/$srcGitRev_12.tar.gz"
|
||||
CHECKSUM_SHA256_12="927f6b782f0be32c6027335bbd49fb40cffa922095ffacc9a0aca78e45023f1a"
|
||||
PATCHES="rust-$portVersion.patchset"
|
||||
PATCHES_5="rust-libc-$portVersion.patchset"
|
||||
PATCHES_12="cargo-vendor-$srcGitRev12.patchset"
|
||||
REVISION="1"
|
||||
PATCHES_12="cargo-vendor-$srcGitRev_12.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
@@ -63,6 +64,7 @@ REQUIRES="
|
||||
lib:libssl$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libcurl$secondaryArchSuffix
|
||||
@@ -97,16 +99,16 @@ BUILD()
|
||||
rm -rf src/tools/cargo src/compiler-rt src/llvm src/tools/rust-installer \
|
||||
src/liblibc src/rt/hoedown src/doc/nomicon src/doc/reference \
|
||||
src/doc/book src/tools/rls
|
||||
cp -r /sources-2/compiler-rt-$srcGitRev2 src/compiler-rt
|
||||
cp -r /sources-3/rust-installer-$srcGitRev3 src/tools/rust-installer
|
||||
cp -r /sources-4/hoedown-$srcGitRev4 src/rt/hoedown
|
||||
cp -r /sources-5/libc-$srcGitRev5 src/liblibc
|
||||
cp -r /sources-6/llvm-$srcGitRev6 src/llvm
|
||||
cp -r /sources-2/compiler-rt-$srcGitRev_2 src/compiler-rt
|
||||
cp -r /sources-3/rust-installer-$srcGitRev_3 src/tools/rust-installer
|
||||
cp -r /sources-4/hoedown-$srcGitRev_4 src/rt/hoedown
|
||||
cp -r /sources-5/libc-$srcGitRev_5 src/liblibc
|
||||
cp -r /sources-6/llvm-$srcGitRev_6 src/llvm
|
||||
cp -r /sources-7/cargo-$cargoVersion src/tools/cargo
|
||||
cp -r /sources-8/nomicon-$srcGitRev8 src/doc/nomicon
|
||||
cp -r /sources-9/reference-$srcGitRev9 src/doc/reference
|
||||
cp -r /sources-10/book-$srcGitRev10 src/doc/book
|
||||
cp -r /sources-11/rls-$srcGitRev11 src/tools/rls
|
||||
cp -r /sources-8/nomicon-$srcGitRev_8 src/doc/nomicon
|
||||
cp -r /sources-9/reference-$srcGitRev_9 src/doc/reference
|
||||
cp -r /sources-10/book-$srcGitRev_10 src/doc/book
|
||||
cp -r /sources-11/rls-$srcGitRev_11 src/tools/rls
|
||||
|
||||
# write the build configuration
|
||||
cat >config.toml <<- EOL
|
||||
@@ -134,7 +136,7 @@ EOL
|
||||
|
||||
# the install step of rust depends on the cargo vendor command
|
||||
# build it separately here
|
||||
cd /sources-12/cargo-vendor-$srcGitRev12
|
||||
cd /sources-12/cargo-vendor-$srcGitRev_12
|
||||
cargo install --force
|
||||
|
||||
# now build rust and cargo
|
||||
|
||||
@@ -1,40 +1,40 @@
|
||||
SUMMARY="Modern and safe systems programming language"
|
||||
DESCRIPTION="Rust is a systems programming language that runs blazingly fast, prevents almost all crashes*, and eliminates data races."
|
||||
HOMEPAGE="http://www.rust-lang.org/"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2015, The Rust Project Developers"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
srcGitRev="cc3dc6313b9098cc97b0aab889b407ea2ee61674"
|
||||
srcGitRev2="50aaf12f610fd14c40fe8c17d85e27dacc091e84"
|
||||
srcGitRev3="70b8783064398a74c64c65e7216000dabb695bf9"
|
||||
srcGitRev4="7911d8666bab5bb3456f15431450e719ef2cb2c9"
|
||||
srcGitRev5="238c4d57cce10d33b05cf52a91fc62a09f31ffbb"
|
||||
SOURCE_URI="https://github.com/nielx/rust/archive/$srcGitRev.tar.gz"
|
||||
SOURCE_URI_2="https://github.com/nielx/compiler-rt/archive/$srcGitRev2.tar.gz"
|
||||
SOURCE_URI_3="https://github.com/nielx/llvm/archive/$srcGitRev3.tar.gz"
|
||||
SOURCE_URI_4="https://github.com/nielx/rust-installer/archive/$srcGitRev4.tar.gz"
|
||||
SOURCE_URI_5="https://github.com/rust-lang/hoedown/archive/$srcGitRev5.tar.gz"
|
||||
CHECKSUM_SHA256="8b029f873b8a4eed794b3eecb1cd589859eef11e6f0f54f587761390fc648ec0"
|
||||
SOURCE_FILENAME="rust-$srcGitRev.tar.gz"
|
||||
SOURCE_DIR="rust-$srcGitRev"
|
||||
srcGitRev_2="50aaf12f610fd14c40fe8c17d85e27dacc091e84"
|
||||
SOURCE_URI_2="https://github.com/nielx/compiler-rt/archive/$srcGitRev_2.tar.gz"
|
||||
CHECKSUM_SHA256_2="adabe5ccb750361199db684ea12c25de32106e477eb186d9645787959cc6b7c2"
|
||||
srcGitRev_3="70b8783064398a74c64c65e7216000dabb695bf9"
|
||||
SOURCE_URI_3="https://github.com/nielx/llvm/archive/$srcGitRev_3.tar.gz"
|
||||
CHECKSUM_SHA256_3="f13a30c575be1f4c6ea2787a6435ea20e2a874ed28af8db96ed274ca8bdc0045"
|
||||
srcGitRev_4="7911d8666bab5bb3456f15431450e719ef2cb2c9"
|
||||
SOURCE_URI_4="https://github.com/nielx/rust-installer/archive/$srcGitRev_4.tar.gz"
|
||||
CHECKSUM_SHA256_4="0946d54f64b0dedf43ecafe463bc0370d0e1273621d187b384fc112b6de1304f"
|
||||
srcGitRev_5="238c4d57cce10d33b05cf52a91fc62a09f31ffbb"
|
||||
SOURCE_URI_5="https://github.com/rust-lang/hoedown/archive/$srcGitRev_5.tar.gz"
|
||||
CHECKSUM_SHA256_5="0b48589221adc4748b4a8f79c374006defdaadb1ecc363f395232cfad5b23b5c"
|
||||
if [ $effectiveTargetArchitecture = x86_64 ]; then
|
||||
SOURCE_URI_6="http://rust-on-haiku.com/downloads/33#noarchive"
|
||||
SOURCE_FILENAME_6="rust-stage0-2015-11-13-c386da0-haiku-x86_64-d09b23db0ef31209a1ebc42e54177449db0985ef.tar.bz2"
|
||||
CHECKSUM_SHA256_6="6156c67e3b4d61e330290e86ed11f645c266b7e1512737dff1da7cd7ff6dee35"
|
||||
SOURCE_FILENAME_6="rust-stage0-2015-11-13-c386da0-haiku-x86_64-d09b23db0ef31209a1ebc42e54177449db0985ef.tar.bz2"
|
||||
else
|
||||
SOURCE_URI_6="http://rust-on-haiku.com/downloads/22#noarchive"
|
||||
SOURCE_FILENAME_6="rust-stage0-2015-08-13-8c5c388-haiku-i386-716818c2428eeb1ba418b7d6db1b7956bd38cdf8.tar.bz2"
|
||||
CHECKSUM_SHA256_6="87d3f40436f5e82b095e53b884e34e47567ead5a076a0b49c29f6370d20d3643"
|
||||
SOURCE_FILENAME_6="rust-stage0-2015-08-13-8c5c388-haiku-i386-716818c2428eeb1ba418b7d6db1b7956bd38cdf8.tar.bz2"
|
||||
fi
|
||||
SOURCE_FILENAME="rust-$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="8b029f873b8a4eed794b3eecb1cd589859eef11e6f0f54f587761390fc648ec0"
|
||||
CHECKSUM_SHA256_2="adabe5ccb750361199db684ea12c25de32106e477eb186d9645787959cc6b7c2"
|
||||
CHECKSUM_SHA256_3="f13a30c575be1f4c6ea2787a6435ea20e2a874ed28af8db96ed274ca8bdc0045"
|
||||
CHECKSUM_SHA256_4="0946d54f64b0dedf43ecafe463bc0370d0e1273621d187b384fc112b6de1304f"
|
||||
CHECKSUM_SHA256_5="0b48589221adc4748b4a8f79c374006defdaadb1ecc363f395232cfad5b23b5c"
|
||||
SOURCE_DIR="rust-$srcGitRev"
|
||||
REVISION="1"
|
||||
PATCHES="rust-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="?x86"
|
||||
|
||||
PATCHES="rust-$portVersion.patchset"
|
||||
|
||||
PROVIDES="
|
||||
rust$secondaryArchSuffix = $portVersion compat >= 1.2
|
||||
cmd:rustc = $portVersion
|
||||
@@ -45,12 +45,14 @@ REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
rust_runtime$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
PROVIDES_runtime="
|
||||
rust_runtime$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_runtime="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
@@ -72,10 +74,10 @@ BUILD_PREREQUIRES="
|
||||
BUILD()
|
||||
{
|
||||
rm -rf src/compiler-rt src/llvm src/rust-installer
|
||||
ln -sf /sources-2/compiler-rt-$srcGitRev2 src/compiler-rt
|
||||
ln -sf /sources-3/llvm-$srcGitRev3 src/llvm
|
||||
ln -sf /sources-4/rust-installer-$srcGitRev4 src/rust-installer
|
||||
ln -sf /sources-5/hoedown-$srcGitRev5 src/rt/hoedown
|
||||
ln -sf /sources-2/compiler-rt-$srcGitRev_2 src/compiler-rt
|
||||
ln -sf /sources-3/llvm-$srcGitRev_3 src/llvm
|
||||
ln -sf /sources-4/rust-installer-$srcGitRev_4 src/rust-installer
|
||||
ln -sf /sources-5/hoedown-$srcGitRev_5 src/rt/hoedown
|
||||
# Do not use runConfigure: it generates too much noise, and it creates a totally impossible directory structure
|
||||
#runConfigure --omit-dirs "docDir libExecDir dataRootDir includeDir sharedStateDir sbinDir binDir oldIncludeDir" ./configure --disable-jemalloc --build=i686-unknown-haiku --host=i686-unknown-haiku --target=i686-unknown-haiku
|
||||
|
||||
|
||||
@@ -1,49 +1,50 @@
|
||||
SUMMARY="Modern and safe systems programming language"
|
||||
DESCRIPTION="Rust is a systems programming language that runs blazingly fast, prevents almost all crashes*, and eliminates data races."
|
||||
HOMEPAGE="http://www.rust-lang.org/"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2017, The Rust Project Developers"
|
||||
srcGitRev="1.20.0"
|
||||
srcGitRev2="c8a8767c56ad3d3f4eb45c87b95026936fb9aa35"
|
||||
srcGitRev3="b4ff403041f17957f735ad750c3241a3a428b9b7"
|
||||
srcGitRev4="da282f1bb7277b4d30fa1599ee29ad8eb4dd2a92"
|
||||
srcGitRev5="2015cf17a6a2a2280e93d9c57214ba92dbbaf42f"
|
||||
srcGitRev6="a5ef0696d7c103006d3cb1f4263bad0ca13adca8"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
cargoVersion="0.21.0"
|
||||
srcGitRev8="81134a4dff811403b3b2f349b0c59a819f0fe0c1"
|
||||
srcGitRev9="1abfbaa70313fdf527cf799ffd9b9a096a62105c"
|
||||
srcGitRev10="4ee596df22f8ecaa9a0b2ddc0624b0104540dbf7"
|
||||
srcGitRev11="618f802f0dcebc9f23a527afd3cd228c1fa468f8"
|
||||
srcGitRev12="5e49856003f33aa5781a0edca148be21025e18e7"
|
||||
srcGitRev="1.20.0"
|
||||
SOURCE_URI="https://github.com/rust-lang/rust/archive/$srcGitRev.tar.gz"
|
||||
SOURCE_URI_2="https://github.com/rust-lang/compiler-rt/archive/$srcGitRev2.tar.gz"
|
||||
SOURCE_URI_3="https://github.com/rust-lang/rust-installer/archive/$srcGitRev3.tar.gz"
|
||||
SOURCE_URI_4="https://github.com/rust-lang/hoedown/archive/$srcGitRev4.tar.gz"
|
||||
SOURCE_URI_5="https://github.com/rust-lang/libc/archive/$srcGitRev5.tar.gz"
|
||||
SOURCE_URI_6="https://github.com/rust-lang/llvm/archive/$srcGitRev6.tar.gz"
|
||||
SOURCE_URI_7="https://github.com/rust-lang/cargo/archive/$cargoVersion.tar.gz"
|
||||
SOURCE_URI_8="https://github.com/rust-lang-nursery/nomicon/archive/$srcGitRev8.tar.gz"
|
||||
SOURCE_URI_9="https://github.com/rust-lang-nursery/reference/archive/$srcGitRev9.tar.gz"
|
||||
SOURCE_URI_10="https://github.com/rust-lang/book/archive/$srcGitRev10.tar.gz"
|
||||
SOURCE_URI_11="https://github.com/rust-lang-nursery/rls/archive/$srcGitRev11.tar.gz"
|
||||
SOURCE_URI_12="https://github.com/rust-lang-nursery/compiler-builtins/archive/$srcGitRev12.tar.gz"
|
||||
SOURCE_FILENAME="rust-$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="ca9307bf18a422029a1fca19ae1fa6c22e3047ff066fb041f9d0a9c886937860"
|
||||
CHECKSUM_SHA256_2="ac595c03dd5dcd3ad66eee76bec2e95770259e4aa4db5df875c2bbcf7781a441"
|
||||
CHECKSUM_SHA256_3="dfcce5a555e0aff5f7ba7681968b77529c806c3109ede78eb1b45a0c4455db4b"
|
||||
CHECKSUM_SHA256_4="623889a326754e93a4a7a8a3487699ea786f4ca9b118f7468c12f8b9966905e6"
|
||||
CHECKSUM_SHA256_5="a68699c8947466360bf10a5687c7155eb295de6da4a43b7613dcca29a40db53e"
|
||||
CHECKSUM_SHA256_6="9c05c8ba8feb45940b9d646dff26b479add03ec6852edd522e75f0e517155375"
|
||||
CHECKSUM_SHA256_7="7c36cfb515c37959f06f9e6e7de28fd40eac70b53079f8abdd55eba6ae49bbff"
|
||||
CHECKSUM_SHA256_8="eaa5028dfb4cb6c1722da244d054e2e2bbae3d7463264262b40fe735705799dc"
|
||||
CHECKSUM_SHA256_9="0651328ad6f837370a0b7fb1eee49093f41936e0f0bcfbc4dec596f71280015d"
|
||||
CHECKSUM_SHA256_10="75fe86002ce362a9a405be58ee4a30a487f7c4a0bdca5c40804e8bcabc50f3d2"
|
||||
CHECKSUM_SHA256_11="6f82ceee79379efb37a2623b7a360ab65a894db9848f57643d1342c36dfac2ac"
|
||||
CHECKSUM_SHA256_12="025e3944bc30161a5d26cb77fddfe6827d1c5e14941bdf9531c11c29bca3e1f4"
|
||||
SOURCE_FILENAME="rust-$srcGitRev.tar.gz"
|
||||
SOURCE_DIR="rust-$srcGitRev"
|
||||
srcGitRev_2="c8a8767c56ad3d3f4eb45c87b95026936fb9aa35"
|
||||
SOURCE_URI_2="https://github.com/rust-lang/compiler-rt/archive/$srcGitRev_2.tar.gz"
|
||||
CHECKSUM_SHA256_2="ac595c03dd5dcd3ad66eee76bec2e95770259e4aa4db5df875c2bbcf7781a441"
|
||||
srcGitRev_3="b4ff403041f17957f735ad750c3241a3a428b9b7"
|
||||
SOURCE_URI_3="https://github.com/rust-lang/rust-installer/archive/$srcGitRev_3.tar.gz"
|
||||
CHECKSUM_SHA256_3="dfcce5a555e0aff5f7ba7681968b77529c806c3109ede78eb1b45a0c4455db4b"
|
||||
srcGitRev_4="da282f1bb7277b4d30fa1599ee29ad8eb4dd2a92"
|
||||
SOURCE_URI_4="https://github.com/rust-lang/hoedown/archive/$srcGitRev_4.tar.gz"
|
||||
CHECKSUM_SHA256_4="623889a326754e93a4a7a8a3487699ea786f4ca9b118f7468c12f8b9966905e6"
|
||||
srcGitRev_5="2015cf17a6a2a2280e93d9c57214ba92dbbaf42f"
|
||||
SOURCE_URI_5="https://github.com/rust-lang/libc/archive/$srcGitRev_5.tar.gz"
|
||||
CHECKSUM_SHA256_5="a68699c8947466360bf10a5687c7155eb295de6da4a43b7613dcca29a40db53e"
|
||||
srcGitRev_6="a5ef0696d7c103006d3cb1f4263bad0ca13adca8"
|
||||
SOURCE_URI_6="https://github.com/rust-lang/llvm/archive/$srcGitRev_6.tar.gz"
|
||||
CHECKSUM_SHA256_6="9c05c8ba8feb45940b9d646dff26b479add03ec6852edd522e75f0e517155375"
|
||||
SOURCE_URI_7="https://github.com/rust-lang/cargo/archive/$cargoVersion.tar.gz"
|
||||
CHECKSUM_SHA256_7="7c36cfb515c37959f06f9e6e7de28fd40eac70b53079f8abdd55eba6ae49bbff"
|
||||
srcGitRev_8="81134a4dff811403b3b2f349b0c59a819f0fe0c1"
|
||||
SOURCE_URI_8="https://github.com/rust-lang-nursery/nomicon/archive/$srcGitRev_8.tar.gz"
|
||||
CHECKSUM_SHA256_8="eaa5028dfb4cb6c1722da244d054e2e2bbae3d7463264262b40fe735705799dc"
|
||||
srcGitRev_9="1abfbaa70313fdf527cf799ffd9b9a096a62105c"
|
||||
SOURCE_URI_9="https://github.com/rust-lang-nursery/reference/archive/$srcGitRev_9.tar.gz"
|
||||
CHECKSUM_SHA256_9="0651328ad6f837370a0b7fb1eee49093f41936e0f0bcfbc4dec596f71280015d"
|
||||
srcGitRev_10="4ee596df22f8ecaa9a0b2ddc0624b0104540dbf7"
|
||||
SOURCE_URI_10="https://github.com/rust-lang/book/archive/$srcGitRev_10.tar.gz"
|
||||
CHECKSUM_SHA256_10="75fe86002ce362a9a405be58ee4a30a487f7c4a0bdca5c40804e8bcabc50f3d2"
|
||||
srcGitRev_11="618f802f0dcebc9f23a527afd3cd228c1fa468f8"
|
||||
SOURCE_URI_11="https://github.com/rust-lang-nursery/rls/archive/$srcGitRev_11.tar.gz"
|
||||
CHECKSUM_SHA256_11="6f82ceee79379efb37a2623b7a360ab65a894db9848f57643d1342c36dfac2ac"
|
||||
srcGitRev_12="5e49856003f33aa5781a0edca148be21025e18e7"
|
||||
SOURCE_URI_12="https://github.com/rust-lang-nursery/compiler-builtins/archive/$srcGitRev_12.tar.gz"
|
||||
CHECKSUM_SHA256_12="025e3944bc30161a5d26cb77fddfe6827d1c5e14941bdf9531c11c29bca3e1f4"
|
||||
PATCHES="rust-$portVersion.patchset"
|
||||
PATCHES_5="rust-libc-$portVersion.patchset"
|
||||
REVISION="1"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
@@ -62,6 +63,7 @@ REQUIRES="
|
||||
lib:libssl$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libcurl$secondaryArchSuffix
|
||||
@@ -97,18 +99,18 @@ BUILD()
|
||||
src/tools/rust-installer src/liblibc src/rt/hoedown \
|
||||
src/doc/nomicon src/doc/reference src/doc/book \
|
||||
src/tools/rls
|
||||
cp -r $sourceDir3/rust-installer-$srcGitRev3 src/tools/rust-installer
|
||||
cp -r $sourceDir4/hoedown-$srcGitRev4 src/rt/hoedown
|
||||
cp -r $sourceDir5/libc-$srcGitRev5 src/liblibc
|
||||
cp -r $sourceDir6/llvm-$srcGitRev6 src/llvm
|
||||
cp -r $sourceDir3/rust-installer-$srcGitRev_3 src/tools/rust-installer
|
||||
cp -r $sourceDir4/hoedown-$srcGitRev_4 src/rt/hoedown
|
||||
cp -r $sourceDir5/libc-$srcGitRev_5 src/liblibc
|
||||
cp -r $sourceDir6/llvm-$srcGitRev_6 src/llvm
|
||||
cp -r $sourceDir7/cargo-$cargoVersion src/tools/cargo
|
||||
cp -r $sourceDir8/nomicon-$srcGitRev8 src/doc/nomicon
|
||||
cp -r $sourceDir9/reference-$srcGitRev9 src/doc/reference
|
||||
cp -r $sourceDir10/book-$srcGitRev10 src/doc/book
|
||||
cp -r $sourceDir11/rls-$srcGitRev11 src/tools/rls
|
||||
cp -r $sourceDir12/compiler-builtins-$srcGitRev12 src/libcompiler_builtins
|
||||
cp -r $sourceDir8/nomicon-$srcGitRev_8 src/doc/nomicon
|
||||
cp -r $sourceDir9/reference-$srcGitRev_9 src/doc/reference
|
||||
cp -r $sourceDir10/book-$srcGitRev_10 src/doc/book
|
||||
cp -r $sourceDir11/rls-$srcGitRev_11 src/tools/rls
|
||||
cp -r $sourceDir12/compiler-builtins-$srcGitRev_12 src/libcompiler_builtins
|
||||
rm -rf src/libcompiler_builtins/compiler-rt
|
||||
cp -r $sourceDir2/compiler-rt-$srcGitRev2 src/libcompiler_builtins/compiler-rt
|
||||
cp -r $sourceDir2/compiler-rt-$srcGitRev_2 src/libcompiler_builtins/compiler-rt
|
||||
|
||||
# write the build configuration
|
||||
cat >config.toml <<- EOL
|
||||
|
||||
@@ -5,47 +5,47 @@ HOMEPAGE="https://www.rust-lang.org/"
|
||||
COPYRIGHT="2017 The Rust Project Developers"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
|
||||
srcGitRev=$portVersion
|
||||
srcGitRev2="c8a8767c56ad3d3f4eb45c87b95026936fb9aa35"
|
||||
srcGitRev3="b4ff403041f17957f735ad750c3241a3a428b9b7"
|
||||
srcGitRev4="da282f1bb7277b4d30fa1599ee29ad8eb4dd2a92"
|
||||
srcGitRev5="4d1b322cff63c47e7ed649fae048e680cfeda077"
|
||||
srcGitRev6="d9e7d2696e41983b6b5a0b4fac604b4e548a84d3"
|
||||
cargoVersion="0.22.0"
|
||||
srcGitRev8="a4322ccb289a43cc238d4536982f184a3eec9ba7"
|
||||
srcGitRev9="266d429a48468371d2d90669f6a30dd659bb4bdb"
|
||||
srcGitRev10="d09c9e8144ed32170b7596abb145ade8b097acaf"
|
||||
srcGitRev11="86ff0b1413ef45aa05ccca968242ac1f09c12817"
|
||||
srcGitRev12="6b9281d2b2f0ebb94838814b1e8ace2de4b7035b"
|
||||
rlsVersion="0.121.0"
|
||||
srcGitRev="$portVersion"
|
||||
SOURCE_URI="https://github.com/rust-lang/rust/archive/$srcGitRev.tar.gz"
|
||||
SOURCE_URI_2="https://github.com/rust-lang/compiler-rt/archive/$srcGitRev2.tar.gz"
|
||||
SOURCE_URI_3="https://github.com/rust-lang/rust-installer/archive/$srcGitRev3.tar.gz"
|
||||
SOURCE_URI_4="https://github.com/rust-lang/hoedown/archive/$srcGitRev4.tar.gz"
|
||||
SOURCE_URI_5="https://github.com/rust-lang/libc/archive/$srcGitRev5.tar.gz"
|
||||
SOURCE_URI_6="https://github.com/rust-lang/llvm/archive/$srcGitRev6.tar.gz"
|
||||
SOURCE_URI_7="https://github.com/rust-lang/cargo/archive/$cargoVersion.tar.gz"
|
||||
SOURCE_URI_8="https://github.com/rust-lang-nursery/nomicon/archive/$srcGitRev8.tar.gz"
|
||||
SOURCE_URI_9="https://github.com/rust-lang-nursery/reference/archive/$srcGitRev9.tar.gz"
|
||||
SOURCE_URI_10="https://github.com/rust-lang/book/archive/$srcGitRev10.tar.gz"
|
||||
SOURCE_URI_11="https://github.com/rust-lang-nursery/rls/archive/$srcGitRev11.tar.gz"
|
||||
SOURCE_URI_12="https://github.com/rust-lang-nursery/compiler-builtins/archive/$srcGitRev12.tar.gz"
|
||||
SOURCE_FILENAME="rust-$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="a0e674cce176a5c90804d394e57887b278acfcdbda4fe0f2ae5876531a94faa4"
|
||||
CHECKSUM_SHA256_2="ac595c03dd5dcd3ad66eee76bec2e95770259e4aa4db5df875c2bbcf7781a441"
|
||||
CHECKSUM_SHA256_3="dfcce5a555e0aff5f7ba7681968b77529c806c3109ede78eb1b45a0c4455db4b"
|
||||
CHECKSUM_SHA256_4="623889a326754e93a4a7a8a3487699ea786f4ca9b118f7468c12f8b9966905e6"
|
||||
CHECKSUM_SHA256_5="e40ca6485049911c319b717404181675e88c2d56d2d8d27395cc85b0e4f428fb"
|
||||
CHECKSUM_SHA256_6="e5481733ae30cc985674b7494e48ba8717748af9265514dd8516ceceb32ae8f0"
|
||||
CHECKSUM_SHA256_7="6740e2f8d035a5a5246a12e84a141d37ad4c2b826355aff497e6f1fcfb637aef"
|
||||
CHECKSUM_SHA256_8="d3e255dfe63cabd342229a53605cd94ae6df912e4771f88a1a4de7af3a59d8f2"
|
||||
CHECKSUM_SHA256_9="7e0fb24af053ac9415568b01442a5ab491a9ed5b841e9441808100d63175cb68"
|
||||
CHECKSUM_SHA256_10="e2059881a339efff63e94d363b75bf34dfad2a0297bc46c568ba40dcc71f2d6f"
|
||||
CHECKSUM_SHA256_11="fa74c46f239ebd1557dea184de3caf7d76c003c6de64aa7fc07c2c9d9f0543f3"
|
||||
CHECKSUM_SHA256_12="82fa7ada1bdadbba9f780847dc4f9340f15e5f137d838c98ca7e30ec3dda6684"
|
||||
SOURCE_FILENAME="rust-$srcGitRev.tar.gz"
|
||||
SOURCE_DIR="rust-$srcGitRev"
|
||||
srcGitRev_2="c8a8767c56ad3d3f4eb45c87b95026936fb9aa35"
|
||||
SOURCE_URI_2="https://github.com/rust-lang/compiler-rt/archive/$srcGitRev_2.tar.gz"
|
||||
CHECKSUM_SHA256_2="ac595c03dd5dcd3ad66eee76bec2e95770259e4aa4db5df875c2bbcf7781a441"
|
||||
srcGitRev_3="b4ff403041f17957f735ad750c3241a3a428b9b7"
|
||||
SOURCE_URI_3="https://github.com/rust-lang/rust-installer/archive/$srcGitRev_3.tar.gz"
|
||||
CHECKSUM_SHA256_3="dfcce5a555e0aff5f7ba7681968b77529c806c3109ede78eb1b45a0c4455db4b"
|
||||
srcGitRev_4="da282f1bb7277b4d30fa1599ee29ad8eb4dd2a92"
|
||||
SOURCE_URI_4="https://github.com/rust-lang/hoedown/archive/$srcGitRev_4.tar.gz"
|
||||
CHECKSUM_SHA256_4="623889a326754e93a4a7a8a3487699ea786f4ca9b118f7468c12f8b9966905e6"
|
||||
srcGitRev_5="4d1b322cff63c47e7ed649fae048e680cfeda077"
|
||||
SOURCE_URI_5="https://github.com/rust-lang/libc/archive/$srcGitRev_5.tar.gz"
|
||||
CHECKSUM_SHA256_5="e40ca6485049911c319b717404181675e88c2d56d2d8d27395cc85b0e4f428fb"
|
||||
srcGitRev_6="d9e7d2696e41983b6b5a0b4fac604b4e548a84d3"
|
||||
SOURCE_URI_6="https://github.com/rust-lang/llvm/archive/$srcGitRev_6.tar.gz"
|
||||
CHECKSUM_SHA256_6="e5481733ae30cc985674b7494e48ba8717748af9265514dd8516ceceb32ae8f0"
|
||||
SOURCE_URI_7="https://github.com/rust-lang/cargo/archive/$cargoVersion.tar.gz"
|
||||
CHECKSUM_SHA256_7="6740e2f8d035a5a5246a12e84a141d37ad4c2b826355aff497e6f1fcfb637aef"
|
||||
srcGitRev_8="a4322ccb289a43cc238d4536982f184a3eec9ba7"
|
||||
SOURCE_URI_8="https://github.com/rust-lang-nursery/nomicon/archive/$srcGitRev_8.tar.gz"
|
||||
CHECKSUM_SHA256_8="d3e255dfe63cabd342229a53605cd94ae6df912e4771f88a1a4de7af3a59d8f2"
|
||||
srcGitRev_9="266d429a48468371d2d90669f6a30dd659bb4bdb"
|
||||
SOURCE_URI_9="https://github.com/rust-lang-nursery/reference/archive/$srcGitRev_9.tar.gz"
|
||||
CHECKSUM_SHA256_9="7e0fb24af053ac9415568b01442a5ab491a9ed5b841e9441808100d63175cb68"
|
||||
srcGitRev_10="d09c9e8144ed32170b7596abb145ade8b097acaf"
|
||||
SOURCE_URI_10="https://github.com/rust-lang/book/archive/$srcGitRev_10.tar.gz"
|
||||
CHECKSUM_SHA256_10="e2059881a339efff63e94d363b75bf34dfad2a0297bc46c568ba40dcc71f2d6f"
|
||||
srcGitRev_11="86ff0b1413ef45aa05ccca968242ac1f09c12817"
|
||||
SOURCE_URI_11="https://github.com/rust-lang-nursery/rls/archive/$srcGitRev_11.tar.gz"
|
||||
CHECKSUM_SHA256_11="fa74c46f239ebd1557dea184de3caf7d76c003c6de64aa7fc07c2c9d9f0543f3"
|
||||
srcGitRev_12="6b9281d2b2f0ebb94838814b1e8ace2de4b7035b"
|
||||
SOURCE_URI_12="https://github.com/rust-lang-nursery/compiler-builtins/archive/$srcGitRev_12.tar.gz"
|
||||
CHECKSUM_SHA256_12="82fa7ada1bdadbba9f780847dc4f9340f15e5f137d838c98ca7e30ec3dda6684"
|
||||
PATCHES="rust-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
@@ -101,18 +101,18 @@ BUILD()
|
||||
src/tools/rust-installer src/liblibc src/rt/hoedown \
|
||||
src/doc/nomicon src/doc/reference src/doc/book \
|
||||
src/tools/rls
|
||||
cp -r $sourceDir3/rust-installer-$srcGitRev3 src/tools/rust-installer
|
||||
cp -r $sourceDir4/hoedown-$srcGitRev4 src/rt/hoedown
|
||||
cp -r $sourceDir5/libc-$srcGitRev5 src/liblibc
|
||||
cp -r $sourceDir6/llvm-$srcGitRev6 src/llvm
|
||||
cp -r $sourceDir3/rust-installer-$srcGitRev_3 src/tools/rust-installer
|
||||
cp -r $sourceDir4/hoedown-$srcGitRev_4 src/rt/hoedown
|
||||
cp -r $sourceDir5/libc-$srcGitRev_5 src/liblibc
|
||||
cp -r $sourceDir6/llvm-$srcGitRev_6 src/llvm
|
||||
cp -r $sourceDir7/cargo-$cargoVersion src/tools/cargo
|
||||
cp -r $sourceDir8/nomicon-$srcGitRev8 src/doc/nomicon
|
||||
cp -r $sourceDir9/reference-$srcGitRev9 src/doc/reference
|
||||
cp -r $sourceDir10/book-$srcGitRev10 src/doc/book
|
||||
cp -r $sourceDir11/rls-$srcGitRev11 src/tools/rls
|
||||
cp -r $sourceDir12/compiler-builtins-$srcGitRev12 src/libcompiler_builtins
|
||||
cp -r $sourceDir8/nomicon-$srcGitRev_8 src/doc/nomicon
|
||||
cp -r $sourceDir9/reference-$srcGitRev_9 src/doc/reference
|
||||
cp -r $sourceDir10/book-$srcGitRev_10 src/doc/book
|
||||
cp -r $sourceDir11/rls-$srcGitRev_11 src/tools/rls
|
||||
cp -r $sourceDir12/compiler-builtins-$srcGitRev_12 src/libcompiler_builtins
|
||||
rm -rf src/libcompiler_builtins/compiler-rt
|
||||
cp -r $sourceDir2/compiler-rt-$srcGitRev2 src/libcompiler_builtins/compiler-rt
|
||||
cp -r $sourceDir2/compiler-rt-$srcGitRev_2 src/libcompiler_builtins/compiler-rt
|
||||
|
||||
# write the build configuration
|
||||
tr -d '\t' >config.toml <<- EOL
|
||||
|
||||
@@ -5,72 +5,71 @@ HOMEPAGE="https://www.rust-lang.org/"
|
||||
COPYRIGHT="2018 The Rust Project Developers"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
|
||||
cargoVersion="0.28.0"
|
||||
rlsVersion="0.127.0"
|
||||
rustfmtVersion="0.6.1"
|
||||
srcGitRev2="7243155b1c3da0a980c868a87adebf00e0b33989"
|
||||
srcGitRev3="118e078c5badd520d18b92813fd88789c8d341ab"
|
||||
srcGitRev4="c5fb6dbe8154732b2af8367c75a9b079b2951154"
|
||||
srcGitRev5="748a5e6742db4a21c4c630a58087f818828e8a0a"
|
||||
srcGitRev7="134f419ee62714590b04712fe6072253bc2a7822"
|
||||
srcGitRev8="f51127530d46b9acbf4747c859da185e771cfcf3"
|
||||
srcGitRev9="d2ade31a52a417257742de72c5936a8a342a34b5"
|
||||
srcGitRev10="2a2f6d96c8dc578d2474742f14c9bab0b36b0408"
|
||||
srcGitRev11="dfd960b5f1a1751b22738fa34fd27b583f4618db"
|
||||
srcGitRev12="49279d715bc9bc979313e7c1056ada821ddc3ee2"
|
||||
srcGitRev13="f48fed70d4447445b586a35c4ae88683542ffc72"
|
||||
srcGitRev14="eebda16e4b45f2eed4310cf7b9872cc752278163"
|
||||
srcGitRev15="a19ca1cd91cf97777af8268a6136bd2e4648e189"
|
||||
srcGitRev16="1742229ebb7843a65c05ee495d8de5366fcc5567"
|
||||
SOURCE_URI="https://github.com/rust-lang/rust/archive/$portVersion.tar.gz"
|
||||
SOURCE_URI_2="https://github.com/rust-lang/llvm/archive/$srcGitRev2.tar.gz"
|
||||
SOURCE_URI_3="https://github.com/rust-lang/rust-installer/archive/$srcGitRev3.tar.gz"
|
||||
SOURCE_URI_4="https://github.com/rust-lang/libc/archive/$srcGitRev4.tar.gz"
|
||||
SOURCE_URI_5="https://github.com/rust-lang-nursery/nomicon/archive/$srcGitRev5.tar.gz"
|
||||
SOURCE_URI_6="https://github.com/rust-lang/cargo/archive/$cargoVersion.tar.gz"
|
||||
SOURCE_URI_7="https://github.com/rust-lang-nursery/reference/archive/$srcGitRev7.tar.gz"
|
||||
SOURCE_URI_8="https://github.com/rust-lang/book/archive/$srcGitRev8.tar.gz"
|
||||
SOURCE_URI_9="https://github.com/rust-lang-nursery/rls/archive/$srcGitRev9.tar.gz"
|
||||
SOURCE_URI_10="https://github.com/rust-lang-nursery/compiler-builtins/archive/$srcGitRev10.tar.gz"
|
||||
SOURCE_URI_11="https://github.com/rust-lang/compiler-rt/archive/$srcGitRev11.tar.gz"
|
||||
SOURCE_URI_12="https://github.com/rust-lang-nursery/rustfmt/archive/$srcGitRev12.tar.gz"
|
||||
SOURCE_URI_13="https://github.com/solson/miri/archive/$srcGitRev13.tar.gz"
|
||||
SOURCE_URI_14="https://github.com/rust-lang/rust-by-example/archive/$srcGitRev14.tar.gz"
|
||||
SOURCE_URI_15="https://github.com/rust-lang-nursery/stdsimd/archive/$srcGitRev15.tar.gz"
|
||||
SOURCE_URI_16="https://github.com/rust-lang-nursery/rust-clippy/archive/$srcGitRev16.tar.gz"
|
||||
SOURCE_FILENAME="rust-$portVersion.tar.gz"
|
||||
SOURCE_FILENAME_2="rust-$portVersion-llvm-$srcGitRev2.tar.gz"
|
||||
SOURCE_FILENAME_3="rust-$portVersion-rust-installer-$srcGitRev3.tar.gz"
|
||||
SOURCE_FILENAME_4="rust-$portVersion-libc-$srcGitRev4.tar.gz"
|
||||
SOURCE_FILENAME_5="rust-$portVersion-nomicon-$srcGitRev5.tar.gz"
|
||||
SOURCE_FILENAME_6="rust-$portVersion-cargo-$cargoVersion.tar.gz"
|
||||
SOURCE_FILENAME_7="rust-$portVersion-reference-$srcGitRev7.tar.gz"
|
||||
SOURCE_FILENAME_8="rust-$portVersion-book-$srcGitRev8.tar.gz"
|
||||
SOURCE_FILENAME_9="rust-$portVersion-rls-$rlsVersion.tar.gz"
|
||||
SOURCE_FILENAME_10="rust-$portVersion-compiler-builtins-$srcGitRev10.tar.gz"
|
||||
SOURCE_FILENAME_11="rust-$portVersion-compiler-rt-$srcGitRev11.tar.gz"
|
||||
SOURCE_FILENAME_12="rust-$portVersion-rustfmt-$rustfmtVersion.tar.gz"
|
||||
SOURCE_FILENAME_13="rust-$portVersion-miri-$srcGitRev13.tar.gz"
|
||||
SOURCE_FILENAME_14="rust-$portVersion-rust-by-example-$srcGitRev14.tar.gz"
|
||||
SOURCE_FILENAME_15="rust-$portVersion-stdsimd-$srcGitRev15.tar.gz"
|
||||
SOURCE_FILENAME_16="rust-$portVersion-clippy-$srcGitRev16.tar.gz"
|
||||
CHECKSUM_SHA256="0bbca54761be5302efc6e6fdb5f4dab4e0dec24458ca7c13538b7259885f9457"
|
||||
SOURCE_FILENAME="rust-$portVersion.tar.gz"
|
||||
srcGitRev_2="7243155b1c3da0a980c868a87adebf00e0b33989"
|
||||
SOURCE_URI_2="https://github.com/rust-lang/llvm/archive/$srcGitRev_2.tar.gz"
|
||||
CHECKSUM_SHA256_2="ba1578c156e8f10a9330f8d2b8514987c74a2babaea845ac4c4a1d2d5ef379ec"
|
||||
SOURCE_FILENAME_2="rust-$portVersion-llvm-$srcGitRev_2.tar.gz"
|
||||
srcGitRev_3="118e078c5badd520d18b92813fd88789c8d341ab"
|
||||
SOURCE_URI_3="https://github.com/rust-lang/rust-installer/archive/$srcGitRev_3.tar.gz"
|
||||
CHECKSUM_SHA256_3="34fd6dd8f8e5943be3ab022cd7d0ca792ea2cfe6fb21e06d6054134fc6441892"
|
||||
SOURCE_FILENAME_3="rust-$portVersion-rust-installer-$srcGitRev_3.tar.gz"
|
||||
srcGitRev_4="c5fb6dbe8154732b2af8367c75a9b079b2951154"
|
||||
SOURCE_URI_4="https://github.com/rust-lang/libc/archive/$srcGitRev_4.tar.gz"
|
||||
CHECKSUM_SHA256_4="aa083022606be28922dfd94606dc27da11f9f397ed732d93fd70fd6a8fa82594"
|
||||
SOURCE_FILENAME_4="rust-$portVersion-libc-$srcGitRev_4.tar.gz"
|
||||
srcGitRev_5="748a5e6742db4a21c4c630a58087f818828e8a0a"
|
||||
SOURCE_URI_5="https://github.com/rust-lang-nursery/nomicon/archive/$srcGitRev_5.tar.gz"
|
||||
CHECKSUM_SHA256_5="abf8866307d51259e55fef461e7954d05cf3169001069dc9ed4ab5eb40a73abd"
|
||||
SOURCE_FILENAME_5="rust-$portVersion-nomicon-$srcGitRev_5.tar.gz"
|
||||
SOURCE_URI_6="https://github.com/rust-lang/cargo/archive/$cargoVersion.tar.gz"
|
||||
CHECKSUM_SHA256_6="62f4269af6cd168c91a6b10ef845e6dc0f1c211605bd13d155a6a001ade026a1"
|
||||
SOURCE_FILENAME_6="rust-$portVersion-cargo-$cargoVersion.tar.gz"
|
||||
srcGitRev_7="134f419ee62714590b04712fe6072253bc2a7822"
|
||||
SOURCE_URI_7="https://github.com/rust-lang-nursery/reference/archive/$srcGitRev_7.tar.gz"
|
||||
CHECKSUM_SHA256_7="9e54405f4a6c487cba04d2e25e7026b86581038a88741ce5757b38ddfab4cb07"
|
||||
SOURCE_FILENAME_7="rust-$portVersion-reference-$srcGitRev_7.tar.gz"
|
||||
srcGitRev_8="f51127530d46b9acbf4747c859da185e771cfcf3"
|
||||
SOURCE_URI_8="https://github.com/rust-lang/book/archive/$srcGitRev_8.tar.gz"
|
||||
CHECKSUM_SHA256_8="a18b090a3a29313a9e68dbef0ca4a5e0ecb36d9eb0f244a1e6cbd33989546989"
|
||||
SOURCE_FILENAME_8="rust-$portVersion-book-$srcGitRev_8.tar.gz"
|
||||
srcGitRev_9="d2ade31a52a417257742de72c5936a8a342a34b5"
|
||||
SOURCE_URI_9="https://github.com/rust-lang-nursery/rls/archive/$srcGitRev_9.tar.gz"
|
||||
CHECKSUM_SHA256_9="5ca89b25cf636b018cb1e9862cf2272e1295874c712db23178e36a3b2dded892"
|
||||
SOURCE_FILENAME_9="rust-$portVersion-rls-$rlsVersion.tar.gz"
|
||||
srcGitRev_10="2a2f6d96c8dc578d2474742f14c9bab0b36b0408"
|
||||
SOURCE_URI_10="https://github.com/rust-lang-nursery/compiler-builtins/archive/$srcGitRev_10.tar.gz"
|
||||
CHECKSUM_SHA256_10="cebece5392d3990a4ed06af378f1e44daea0c30d1d348d1cefb7dae9a4f56bbb"
|
||||
SOURCE_FILENAME_10="rust-$portVersion-compiler-builtins-$srcGitRev_10.tar.gz"
|
||||
srcGitRev_11="dfd960b5f1a1751b22738fa34fd27b583f4618db"
|
||||
SOURCE_URI_11="https://github.com/rust-lang/compiler-rt/archive/$srcGitRev_11.tar.gz"
|
||||
CHECKSUM_SHA256_11="7384b3592a4b05857fbf4e54ff5f0ac17bb8bd982b428f348ae2cc4afd9a552c"
|
||||
SOURCE_FILENAME_11="rust-$portVersion-compiler-rt-$srcGitRev_11.tar.gz"
|
||||
srcGitRev_12="49279d715bc9bc979313e7c1056ada821ddc3ee2"
|
||||
SOURCE_URI_12="https://github.com/rust-lang-nursery/rustfmt/archive/$srcGitRev_12.tar.gz"
|
||||
CHECKSUM_SHA256_12="9708789d175ce1dd43e1623c1373629d26d583022e9e826d768d9270c4304f36"
|
||||
SOURCE_FILENAME_12="rust-$portVersion-rustfmt-$rustfmtVersion.tar.gz"
|
||||
srcGitRev_13="f48fed70d4447445b586a35c4ae88683542ffc72"
|
||||
SOURCE_URI_13="https://github.com/solson/miri/archive/$srcGitRev_13.tar.gz"
|
||||
CHECKSUM_SHA256_13="7ab3a7345cc98e96a223b92653374fe1cae2c81f90afb745e933f02eacbf7390"
|
||||
SOURCE_FILENAME_13="rust-$portVersion-miri-$srcGitRev_13.tar.gz"
|
||||
srcGitRev_14="eebda16e4b45f2eed4310cf7b9872cc752278163"
|
||||
SOURCE_URI_14="https://github.com/rust-lang/rust-by-example/archive/$srcGitRev_14.tar.gz"
|
||||
CHECKSUM_SHA256_14="be12b7ba065470a046f7e2ba3f76abd3fd6028b24393eba292d024de8164b630"
|
||||
SOURCE_FILENAME_14="rust-$portVersion-rust-by-example-$srcGitRev_14.tar.gz"
|
||||
srcGitRev_15="a19ca1cd91cf97777af8268a6136bd2e4648e189"
|
||||
SOURCE_URI_15="https://github.com/rust-lang-nursery/stdsimd/archive/$srcGitRev_15.tar.gz"
|
||||
CHECKSUM_SHA256_15="ddfb9831e8cb439545ce8180a958e57877a0cd9fc3f54305b38679f2b0dd2f68"
|
||||
SOURCE_FILENAME_15="rust-$portVersion-stdsimd-$srcGitRev_15.tar.gz"
|
||||
srcGitRev_16="1742229ebb7843a65c05ee495d8de5366fcc5567"
|
||||
SOURCE_URI_16="https://github.com/rust-lang-nursery/rust-clippy/archive/$srcGitRev_16.tar.gz"
|
||||
CHECKSUM_SHA256_16="e5b04a1dfeab2d89fc5ee4509711c381bcdca53586b73a999102e14ac8748c23"
|
||||
SOURCE_FILENAME_16="rust-$portVersion-clippy-$srcGitRev_16.tar.gz"
|
||||
PATCHES="rust-$portVersion.patchset"
|
||||
PATCHES_2="rust-llvm-$portVersion.patchset"
|
||||
|
||||
@@ -130,22 +129,22 @@ BUILD()
|
||||
src/libcompiler_builtins src/tools/rustfmt src/tools/miri \
|
||||
src/doc/rust-by-example src/stdsimd src/tools/clippy
|
||||
|
||||
ln -s $sourceDir2/llvm-$srcGitRev2 src/llvm
|
||||
ln -s $sourceDir3/rust-installer-$srcGitRev3 src/tools/rust-installer
|
||||
ln -s $sourceDir4/libc-$srcGitRev4 src/liblibc
|
||||
ln -s $sourceDir5/nomicon-$srcGitRev5 src/doc/nomicon
|
||||
ln -s $sourceDir2/llvm-$srcGitRev_2 src/llvm
|
||||
ln -s $sourceDir3/rust-installer-$srcGitRev_3 src/tools/rust-installer
|
||||
ln -s $sourceDir4/libc-$srcGitRev_4 src/liblibc
|
||||
ln -s $sourceDir5/nomicon-$srcGitRev_5 src/doc/nomicon
|
||||
ln -s $sourceDir6/cargo-$cargoVersion src/tools/cargo
|
||||
ln -s $sourceDir7/reference-$srcGitRev7 src/doc/reference
|
||||
ln -s $sourceDir8/book-$srcGitRev8 src/doc/book
|
||||
ln -s $sourceDir9/rls-$srcGitRev9 src/tools/rls
|
||||
ln -s $sourceDir10/compiler-builtins-$srcGitRev10 src/libcompiler_builtins
|
||||
ln -s $sourceDir7/reference-$srcGitRev_7 src/doc/reference
|
||||
ln -s $sourceDir8/book-$srcGitRev_8 src/doc/book
|
||||
ln -s $sourceDir9/rls-$srcGitRev_9 src/tools/rls
|
||||
ln -s $sourceDir10/compiler-builtins-$srcGitRev_10 src/libcompiler_builtins
|
||||
rm -rf src/libcompiler_builtins/compiler-rt
|
||||
ln -s $sourceDir11/compiler-rt-$srcGitRev11 src/libcompiler_builtins/compiler-rt
|
||||
ln -s $sourceDir12/rustfmt-$srcGitRev12 src/tools/rustfmt
|
||||
ln -s $sourceDir13/miri-$srcGitRev13 src/tools/miri
|
||||
ln -s $sourceDir14/rust-by-example-$srcGitRev14 src/doc/rust-by-example
|
||||
ln -s $sourceDir15/stdsimd-$srcGitRev15 src/stdsimd
|
||||
ln -s $sourceDir16/rust-clippy-$srcGitRev16 src/tools/clippy
|
||||
ln -s $sourceDir11/compiler-rt-$srcGitRev_11 src/libcompiler_builtins/compiler-rt
|
||||
ln -s $sourceDir12/rustfmt-$srcGitRev_12 src/tools/rustfmt
|
||||
ln -s $sourceDir13/miri-$srcGitRev_13 src/tools/miri
|
||||
ln -s $sourceDir14/rust-by-example-$srcGitRev_14 src/doc/rust-by-example
|
||||
ln -s $sourceDir15/stdsimd-$srcGitRev_15 src/stdsimd
|
||||
ln -s $sourceDir16/rust-clippy-$srcGitRev_16 src/tools/clippy
|
||||
|
||||
# write the build configuration
|
||||
tr -d '\t' >config.toml <<- EOL
|
||||
|
||||
@@ -5,7 +5,9 @@ HOMEPAGE="https://www.rust-lang.org/"
|
||||
COPYRIGHT="2018 The Rust Project Developers"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
|
||||
cargoVersion="0.29.0"
|
||||
rlsVersion="0.128.0"
|
||||
rustfmtVersion="0.8.2"
|
||||
SOURCE_URI="https://static.rust-lang.org/dist/rustc-$portVersion-src.tar.xz"
|
||||
CHECKSUM_SHA256="8a899afd4b502b4ebff5cfc82cba77a8cb37113b5e6018f15c09545936081848"
|
||||
SOURCE_DIR="rustc-$portVersion-src"
|
||||
@@ -14,10 +16,6 @@ PATCHES="rust-$portVersion.patchset"
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="?x86"
|
||||
|
||||
cargoVersion="0.29.0"
|
||||
rlsVersion="0.128.0"
|
||||
rustfmtVersion="0.8.2"
|
||||
|
||||
PROVIDES="
|
||||
rust$secondaryArchSuffix = $portVersion
|
||||
cmd:rustc = $portVersion
|
||||
|
||||
@@ -1,35 +1,36 @@
|
||||
SUMMARY="Modern and safe systems programming language"
|
||||
DESCRIPTION="Rust is a systems programming language that runs blazingly fast, prevents almost all crashes*, and eliminates data races."
|
||||
HOMEPAGE="http://www.rust-lang.org/"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2016, The Rust Project Developers"
|
||||
srcGitRev="cc71d3af918369b668c9cb9f092e13ed3e34671d"
|
||||
srcGitRev2="57315f7e07d09b6f0341ebbcd50dded6c20d782f"
|
||||
srcGitRev3="2686d1d16f4bbcb9e6310fc8d48b95ae12eb7643"
|
||||
srcGitRev4="f96680f5a059069a320f62568d5afc88db9a7ec0"
|
||||
srcGitRev5="4638c60dedfa581fd5fa7c6420d8f32274c9ca0b"
|
||||
srcGitRev6="a8510ebfbd9231db7d97b5df95bdaf983e68a04f"
|
||||
SOURCE_URI="https://github.com/nielx/rust/archive/$srcGitRev.tar.gz"
|
||||
SOURCE_URI_2="https://github.com/rust-lang/compiler-rt/archive/$srcGitRev2.tar.gz"
|
||||
SOURCE_URI_3="https://github.com/nielx/llvm/archive/$srcGitRev3.tar.gz"
|
||||
SOURCE_URI_4="https://github.com/nielx/rust-installer/archive/$srcGitRev4.tar.gz"
|
||||
SOURCE_URI_5="https://github.com/rust-lang/hoedown/archive/$srcGitRev5.tar.gz"
|
||||
SOURCE_URI_6="https://github.com/nielx/libc/archive/$srcGitRev6.tar.gz"
|
||||
SOURCE_URI_7="http://rust-on-haiku.com/downloads/44#noarchive"
|
||||
SOURCE_URI_8="http://rust-on-haiku.com/downloads/46#noarchive"
|
||||
SOURCE_FILENAME="rust-$srcGitRev.tar.gz"
|
||||
SOURCE_FILENAME_7="rust-stage0-2016-08-07-b71ea1d-haiku-i386-bb4f6267ef13d945bdfaa443a0a007a84c8ce187.tar.bz2"
|
||||
SOURCE_FILENAME_8="rust-stage0-haiku-x86_64.tar.bz2"
|
||||
CHECKSUM_SHA256="25aae4f00f8be26125c5aab902c42bc17e06acbfa71f6218a02c73091ee95346"
|
||||
CHECKSUM_SHA256_2="244e97dbad67f752a4c394407e0929dbf44ed520a2dd9f19ebf86f2919112c3e"
|
||||
CHECKSUM_SHA256_3="2492c7a1e04c47c99c8471f4f9b1ea5581887d969a7fbcbf33d2c9c7fb62f1bf"
|
||||
CHECKSUM_SHA256_4="d5f79186cd4b9221c07cf89b3f038aa073674e13ddd35f2e7e22486b8eb16020"
|
||||
CHECKSUM_SHA256_5="a5a0a957544a5f8cf08c0b67cb503f294b0e1bb20c65766abf9dc3c683d3b9c5"
|
||||
CHECKSUM_SHA256_6="6831b6ca212d531e8f775bc05af573a33d1e7c7b8b0d5e1d4ac056ac2a079141"
|
||||
CHECKSUM_SHA256_7="08fd4f697c08ed3da24225643eb8ae1331feb6afe13ada398691c0e2dbdc3b1f"
|
||||
CHECKSUM_SHA256_8="357b1d6a1307d2b9a784daf0a71ca1982f040d8539d7d4e1e0443523347445b0"
|
||||
SOURCE_DIR="rust-$srcGitRev"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
srcGitRev="cc71d3af918369b668c9cb9f092e13ed3e34671d"
|
||||
SOURCE_URI="https://github.com/nielx/rust/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="25aae4f00f8be26125c5aab902c42bc17e06acbfa71f6218a02c73091ee95346"
|
||||
SOURCE_FILENAME="rust-$srcGitRev.tar.gz"
|
||||
SOURCE_DIR="rust-$srcGitRev"
|
||||
srcGitRev_2="57315f7e07d09b6f0341ebbcd50dded6c20d782f"
|
||||
SOURCE_URI_2="https://github.com/rust-lang/compiler-rt/archive/$srcGitRev_2.tar.gz"
|
||||
CHECKSUM_SHA256_2="244e97dbad67f752a4c394407e0929dbf44ed520a2dd9f19ebf86f2919112c3e"
|
||||
srcGitRev_3="2686d1d16f4bbcb9e6310fc8d48b95ae12eb7643"
|
||||
SOURCE_URI_3="https://github.com/nielx/llvm/archive/$srcGitRev_3.tar.gz"
|
||||
CHECKSUM_SHA256_3="2492c7a1e04c47c99c8471f4f9b1ea5581887d969a7fbcbf33d2c9c7fb62f1bf"
|
||||
srcGitRev_4="f96680f5a059069a320f62568d5afc88db9a7ec0"
|
||||
SOURCE_URI_4="https://github.com/nielx/rust-installer/archive/$srcGitRev_4.tar.gz"
|
||||
CHECKSUM_SHA256_4="d5f79186cd4b9221c07cf89b3f038aa073674e13ddd35f2e7e22486b8eb16020"
|
||||
srcGitRev_5="4638c60dedfa581fd5fa7c6420d8f32274c9ca0b"
|
||||
SOURCE_URI_5="https://github.com/rust-lang/hoedown/archive/$srcGitRev_5.tar.gz"
|
||||
CHECKSUM_SHA256_5="a5a0a957544a5f8cf08c0b67cb503f294b0e1bb20c65766abf9dc3c683d3b9c5"
|
||||
srcGitRev_6="a8510ebfbd9231db7d97b5df95bdaf983e68a04f"
|
||||
SOURCE_URI_6="https://github.com/nielx/libc/archive/$srcGitRev_6.tar.gz"
|
||||
CHECKSUM_SHA256_6="6831b6ca212d531e8f775bc05af573a33d1e7c7b8b0d5e1d4ac056ac2a079141"
|
||||
SOURCE_URI_7="http://rust-on-haiku.com/downloads/44#noarchive"
|
||||
CHECKSUM_SHA256_7="08fd4f697c08ed3da24225643eb8ae1331feb6afe13ada398691c0e2dbdc3b1f"
|
||||
SOURCE_FILENAME_7="rust-stage0-2016-08-07-b71ea1d-haiku-i386-bb4f6267ef13d945bdfaa443a0a007a84c8ce187.tar.bz2"
|
||||
SOURCE_URI_8="http://rust-on-haiku.com/downloads/46#noarchive"
|
||||
CHECKSUM_SHA256_8="357b1d6a1307d2b9a784daf0a71ca1982f040d8539d7d4e1e0443523347445b0"
|
||||
SOURCE_FILENAME_8="rust-stage0-haiku-x86_64.tar.bz2"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
@@ -42,6 +43,7 @@ PROVIDES="
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
@@ -70,13 +72,13 @@ BUILD()
|
||||
fi
|
||||
|
||||
rm -rf src/compiler-rt src/llvm src/rust-installer
|
||||
ln -sf /sources-2/compiler-rt-$srcGitRev2 src/compiler-rt
|
||||
ln -sf /sources-3/llvm-$srcGitRev3 src/llvm
|
||||
ln -sf /sources-4/rust-installer-$srcGitRev4 src/rust-installer
|
||||
ln -sf /sources-2/compiler-rt-$srcGitRev_2 src/compiler-rt
|
||||
ln -sf /sources-3/llvm-$srcGitRev_3 src/llvm
|
||||
ln -sf /sources-4/rust-installer-$srcGitRev_4 src/rust-installer
|
||||
rm -r src/rt/hoedown
|
||||
ln -sf /sources-5/hoedown-$srcGitRev5 src/rt/hoedown
|
||||
ln -sf /sources-5/hoedown-$srcGitRev_5 src/rt/hoedown
|
||||
rm -r src/liblibc
|
||||
ln -sf /sources-6/libc-$srcGitRev6 src/liblibc
|
||||
ln -sf /sources-6/libc-$srcGitRev_6 src/liblibc
|
||||
# Do not use runConfigure: it generates too much noise, and it creates a totally impossible directory structure
|
||||
#runConfigure --omit-dirs "docDir libExecDir dataRootDir includeDir sharedStateDir sbinDir binDir oldIncludeDir" ./configure --disable-jemalloc --build=i686-unknown-haiku --host=i686-unknown-haiku --target=i686-unknown-haiku
|
||||
|
||||
|
||||
Reference in New Issue
Block a user