Update gcc recipe

* Uses newer revision of buildtools
* Fetches a tarball now instead of checking out from Git
 -> Should be faster
 -> Allows verification of the download
This commit is contained in:
Jonathan Schleifer
2014-03-20 03:46:53 +01:00
parent 905d17ec3c
commit 1d34382362

View File

@@ -3,16 +3,21 @@ DESCRIPTION="
Standard compiler for x86 platform.
"
HOMEPAGE="http://gcc.gnu.org"
srcGitRev="c20a732df8f8b6d0f32c872817f3a0498a5c4761"
SRC_URI="https://github.com/haiku/buildtools/archive/$srcGitRev.tar.gz"
REVISION="1"
LICENSE="
GNU GPL v2
GNU LGPL v2
"
COPYRIGHT="1988-2013 Free Software Foundation, Inc."
SRC_URI="
git+file://$portBaseDir/../binutils/download/buildtools.git#66becd8fe7e99054b190c181b063933310718179
git+git://github.com/haiku/buildtools.git#66becd8fe7e99054b190c181b063933310718179
"
REVISION="2"
CHECKSUM_SIZE="155931258"
CHECKSUM_MD5="799058d91d7e8772dc78c64d4f6722f3"
CHECKSUM_RMD160="b81cf4d5a551408587d0e9209f399226c2661ccf"
CHECKSUM_SHA512="3b8b41c08c4c06137835fc88ff996597d75e4ace7e24f5310d0daaf0ccb73c92a69c11f15801bf561c310a44f0721930ba3b598c37a7f4fa2c411931a8fb8205"
ARCHITECTURES="x86 x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
# x86_gcc2 is fine as primary target architecture as long as we're building
@@ -54,7 +59,7 @@ BUILD_PREREQUIRES="
cmd:xargs
"
SOURCE_DIR="gcc-$portVersion/gcc"
SOURCE_DIR="buildtools-$srcGitRev/gcc"
sourceDir=$(pwd)
relativeInstallDir="develop/tools$secondaryArchSubDir"