Browse Source

ecj: Update from 4.4.2 to 4.5.2

android-5
Fredrik Fornwall 9 years ago
parent
commit
ad3050005c
  1. 2
      install-sdk.sh
  2. 6
      packages/ecj/build.sh
  3. 2
      packages/jack/build.sh

2
install-sdk.sh

@ -5,4 +5,4 @@ test -f $HOME/.termuxrc && . $HOME/.termuxrc
: ${ANDROID_HOME:="${HOME}/lib/android-sdk"}
$ANDROID_HOME/tools/android update sdk --no-ui --all --no-https -t "build-tools-23.0.2"
$ANDROID_HOME/tools/android update sdk --no-ui --all --no-https -t "android-21"
$ANDROID_HOME/tools/android update sdk --no-ui --all --no-https -t "android-23"

6
packages/ecj/build.sh

@ -1,7 +1,7 @@
TERMUX_PKG_HOMEPAGE=http://www.eclipse.org/jdt/core/
TERMUX_PKG_DESCRIPTION="Eclipse Compiler for Java"
TERMUX_PKG_VERSION=4.4.2
TERMUX_PKG_SRCURL=http://ftp.acc.umu.se/mirror/eclipse.org/eclipse/downloads/drops4/R-${TERMUX_PKG_VERSION}-201502041700/ecj-${TERMUX_PKG_VERSION}.jar
TERMUX_PKG_VERSION=4.5.2
TERMUX_PKG_SRCURL=http://ftp.acc.umu.se/mirror/eclipse.org/eclipse/downloads/drops4/R-${TERMUX_PKG_VERSION}-201602121500/ecj-${TERMUX_PKG_VERSION}.jar
TERMUX_PKG_PLATFORM_INDEPENDENT=true
termux_step_extract_package () {
@ -26,7 +26,7 @@ termux_step_make () {
cd android-jar
# We need the android classes for JDT to compile against.
cp $ANDROID_HOME/platforms/android-21/android.jar .
cp $ANDROID_HOME/platforms/android-23/android.jar .
unzip android.jar
rm -Rf android.jar resources.arsc res assets
zip -r android.jar .

2
packages/jack/build.sh

@ -24,7 +24,7 @@ termux_step_make () {
cd android-jar
# We need the android.jar clases in jill format (.jack extension) for jack to compile against.
cp $ANDROID_HOME/platforms/android-21/android.jar .
cp $ANDROID_HOME/platforms/android-23/android.jar .
# Remove resources not needed for compilation to reduce size:
unzip android.jar
rm -Rf android.jar resources.arsc res assets

Loading…
Cancel
Save