Merge branch 'master' of github.com:cycojesus/slackbuilds
This commit is contained in:
commit
de14c11f7c
2 changed files with 9 additions and 6 deletions
|
@ -26,7 +26,7 @@ SRCNAM=gcc
|
|||
SRCVER=4.5.2
|
||||
ARCH=${ARCH:-$(uname -m)}
|
||||
CROSS=${CROSS:-armv5te}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-cyco}
|
||||
|
||||
PRGNAM=cross-$SRCNAM
|
||||
|
@ -89,7 +89,7 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--disable-multilib \
|
||||
--with-gnu-ld \
|
||||
--verbose \
|
||||
--target=$CROSS-$SYSTEM \
|
||||
--target=$CROSS-none-eabi \
|
||||
--build=$ARCH-$SYSTEM \
|
||||
--host=$ARCH-$SYSTEM
|
||||
|
||||
|
|
|
@ -28,6 +28,7 @@ CWD=$(pwd)
|
|||
|
||||
PRGNAM=$(basename $CWD)
|
||||
VERSION=snapshot
|
||||
REVISION=${REVISION:-}
|
||||
ARCH=${ARCH:-$(uname -m)}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-cyco}
|
||||
|
@ -50,12 +51,14 @@ rm -rf $PKG
|
|||
mkdir -p $TMP $PKG/opt $OUTPUT
|
||||
|
||||
cd $PKG/opt
|
||||
if [ "x$REVISION" == "x" ]; then
|
||||
#get latest revision number
|
||||
[ -e ./LATEST ] && rm ./LATEST
|
||||
wget -c http://build.chromium.org/buildbot/snapshots/$REL/LATEST
|
||||
REVISION=$(cat ./LATEST)
|
||||
[ -e ./LATEST ] && rm ./LATEST
|
||||
wget -c http://build.chromium.org/buildbot/snapshots/$REL/LATEST
|
||||
REVISION=$(cat ./LATEST)
|
||||
rm ./LATEST]
|
||||
fi
|
||||
VERSION=${VERSION}_$REVISION
|
||||
rm ./LATEST
|
||||
|
||||
#get chromium
|
||||
[ -e chrome-linux.zip ] && rm chrome-linux.zip
|
||||
|
|
Loading…
Reference in a new issue