disabled packages: delete javac
This commit is contained in:
parent
4f6cb9b402
commit
fb62392abb
@ -1,21 +0,0 @@
|
|||||||
TERMUX_PKG_HOMEPAGE=http://docs.oracle.com/javase/8/docs/technotes/tools/windows/javac.html
|
|
||||||
TERMUX_PKG_DESCRIPTION="Java programming language compiler from (openjdk)"
|
|
||||||
TERMUX_PKG_VERSION=8u45
|
|
||||||
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
|
||||||
|
|
||||||
termux_step_extract_package() {
|
|
||||||
mkdir $TERMUX_PKG_SRCDIR
|
|
||||||
}
|
|
||||||
|
|
||||||
termux_step_make() {
|
|
||||||
RAW_JAR=/usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar
|
|
||||||
|
|
||||||
mkdir -p $TERMUX_PREFIX/share/dex
|
|
||||||
$TERMUX_DX \
|
|
||||||
--dex \
|
|
||||||
--output=$TERMUX_PREFIX/share/dex/tools.jar \
|
|
||||||
$RAW_JAR
|
|
||||||
|
|
||||||
install $TERMUX_PKG_BUILDER_DIR/javac $TERMUX_PREFIX/bin/javac
|
|
||||||
perl -p -i -e "s%\@TERMUX_PREFIX\@%${TERMUX_PREFIX}%g" $TERMUX_PREFIX/bin/javac
|
|
||||||
}
|
|
@ -1,10 +0,0 @@
|
|||||||
#!/system/bin/sh
|
|
||||||
|
|
||||||
# There needs to be a folder at $ANDROID_DATA/dalvik-cache
|
|
||||||
export ANDROID_DATA=@TERMUX_PREFIX@/var/android/
|
|
||||||
mkdir -p $ANDROID_DATA/dalvik-cache
|
|
||||||
|
|
||||||
jarpath=@TERMUX_PREFIX@/share/dex/tools.jar
|
|
||||||
# -proc:none to disable annotation processing/compiling
|
|
||||||
# -7 for java 1.7 compatibility
|
|
||||||
dalvikvm -Xmx256m -cp $jarpath com.sun.tools.javac.Main -proc:none -7 -cp @TERMUX_PREFIX@/share/java/android.jar $@
|
|
Loading…
Reference in New Issue
Block a user