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
|
SRCVER=4.5.2
|
||||||
ARCH=${ARCH:-$(uname -m)}
|
ARCH=${ARCH:-$(uname -m)}
|
||||||
CROSS=${CROSS:-armv5te}
|
CROSS=${CROSS:-armv5te}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-cyco}
|
TAG=${TAG:-cyco}
|
||||||
|
|
||||||
PRGNAM=cross-$SRCNAM
|
PRGNAM=cross-$SRCNAM
|
||||||
|
@ -89,7 +89,7 @@ CXXFLAGS="$SLKCFLAGS" \
|
||||||
--disable-multilib \
|
--disable-multilib \
|
||||||
--with-gnu-ld \
|
--with-gnu-ld \
|
||||||
--verbose \
|
--verbose \
|
||||||
--target=$CROSS-$SYSTEM \
|
--target=$CROSS-none-eabi \
|
||||||
--build=$ARCH-$SYSTEM \
|
--build=$ARCH-$SYSTEM \
|
||||||
--host=$ARCH-$SYSTEM
|
--host=$ARCH-$SYSTEM
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,7 @@ CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=$(basename $CWD)
|
PRGNAM=$(basename $CWD)
|
||||||
VERSION=snapshot
|
VERSION=snapshot
|
||||||
|
REVISION=${REVISION:-}
|
||||||
ARCH=${ARCH:-$(uname -m)}
|
ARCH=${ARCH:-$(uname -m)}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-cyco}
|
TAG=${TAG:-cyco}
|
||||||
|
@ -50,12 +51,14 @@ rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG/opt $OUTPUT
|
mkdir -p $TMP $PKG/opt $OUTPUT
|
||||||
|
|
||||||
cd $PKG/opt
|
cd $PKG/opt
|
||||||
|
if [ "x$REVISION" == "x" ]; then
|
||||||
#get latest revision number
|
#get latest revision number
|
||||||
[ -e ./LATEST ] && rm ./LATEST
|
[ -e ./LATEST ] && rm ./LATEST
|
||||||
wget -c http://build.chromium.org/buildbot/snapshots/$REL/LATEST
|
wget -c http://build.chromium.org/buildbot/snapshots/$REL/LATEST
|
||||||
REVISION=$(cat ./LATEST)
|
REVISION=$(cat ./LATEST)
|
||||||
|
rm ./LATEST]
|
||||||
|
fi
|
||||||
VERSION=${VERSION}_$REVISION
|
VERSION=${VERSION}_$REVISION
|
||||||
rm ./LATEST
|
|
||||||
|
|
||||||
#get chromium
|
#get chromium
|
||||||
[ -e chrome-linux.zip ] && rm chrome-linux.zip
|
[ -e chrome-linux.zip ] && rm chrome-linux.zip
|
||||||
|
|
Loading…
Add table
Reference in a new issue