summaryrefslogtreecommitdiff
path: root/extra/java7-openjdk/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/java7-openjdk/PKGBUILD')
-rw-r--r--extra/java7-openjdk/PKGBUILD19
1 files changed, 19 insertions, 0 deletions
diff --git a/extra/java7-openjdk/PKGBUILD b/extra/java7-openjdk/PKGBUILD
new file mode 100644
index 00000000..3e010da8
--- /dev/null
+++ b/extra/java7-openjdk/PKGBUILD
@@ -0,0 +1,19 @@
+# i486-specific
+if [ "${CARCH}" = "i486" ]; then
+ _JARCH=i386
+
+ # a lot of things missing during bootstrapping
+ makedepends=(${makedepends[@]//libpulse>=0.9.11/})
+ makedepends=(${makedepends[@]//gtk2/})
+ makedepends=(${makedepends[@]//java-rhino/})
+ makedepends=(${makedepends[@]//eclipse-ecj/})
+
+ eval "$(
+ declare -f build | \
+ sed '
+ s|--with-rhino|--without-rhino|
+ s|--with-jdk-home=${JAVA_HOME}|--with-jdk-home=/opt/jdk7-openjdk|
+ '
+ )"
+
+fi