summaryrefslogtreecommitdiff
path: root/repo/system/openjdk11/openjdk11.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-27 18:34:26 +0100
committerdavidovski <david@davidovski.xyz>2022-05-27 18:34:26 +0100
commit4615385d6c8203001962a7a31dd02cdb1a73544b (patch)
tree0ff0ea93838f9c39ee5a09066ad05d9567e31437 /repo/system/openjdk11/openjdk11.xibuild
parent7b0628f037dcbf85cfb381d5e05dea39a2059d33 (diff)
added tor
Diffstat (limited to 'repo/system/openjdk11/openjdk11.xibuild')
-rw-r--r--repo/system/openjdk11/openjdk11.xibuild87
1 files changed, 0 insertions, 87 deletions
diff --git a/repo/system/openjdk11/openjdk11.xibuild b/repo/system/openjdk11/openjdk11.xibuild
deleted file mode 100644
index c3c9c64..0000000
--- a/repo/system/openjdk11/openjdk11.xibuild
+++ /dev/null
@@ -1,87 +0,0 @@
-#!/bin/sh
-
-NAME="openjdk11"
-DESC="Oracle OpenJDK 11"
-
-MAKEDEPS="make
-bash
-gawk
-grep
-make
-zip
-alsa-lib
-elfutils
-fontconfig
-freetype2
-giflib
-lcms2
-libexecinfo
-libffi
-libjpeg-turbo
-libx11
-cups
-libxext
-libxrandr
-libxrender
-libxt
-libxtst
-zlib"
-
-DEPS="musl"
-
-PKG_VER=11.0.16+2
-SOURCE="https://github.com/openjdk/jdk11u/archive/jdk-$PKG_VER.tar.gz"
-
-bootstrapjdk="OpenJDK11U-jdk_x64_alpine-linux_hotspot_11.0.15_10"
-bootstrapjdk_url="https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15%2B10/$bootstrapjdk.tar.gz"
-
-ADDITIONAL="$bootstrapjdk_url
- build.patch
- fix-bootjdk-check.patch
- fix-musl.patch
- fix-sbase-commands.patch
-"
-
-java_home="/usr/lib/jvm/java-11-openjdk"
-
-prepare () {
- apply_patches
- tar xf $bootstrapjdk.tar.gz
- bootjdk=jdk-11.0.15+10
-}
-
-build () {
- bash ./configure \
- --with-boot-jdk=$bootjdk \
- --with-toolchain-type=clang \
- --prefix="$java_home" \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --localstatedir=/var \
- --with-extra-cflags="$CFLAGS" \
- --with-extra-cxxflags="$CXXFLAGS" \
- --with-extra-ldflags="$LDFLAGS" \
- --with-zlib=system \
- --with-libjpeg=system \
- --with-libpng=system \
- --with-lcms=system \
- --with-jobs=${JOBS:-4} \
- --with-test-jobs=${JOBS:-4} \
- --with-native-debug-symbols=none \
- --disable-warnings-as-errors \
- --disable-precompiled-headers \
- --enable-dtrace=no \
- --with-jvm-variants=server \
- --with-debug-level=release \
- --with-version-pre= \
- --with-version-opt="xilinux" \
- --with-version-build=${pkgver} \
- --with-vendor-name="XiLinux"
- MAKEFLAGS="" make images
-}
-
-package () {
- mkdir -p "$PKG_DEST/$java_home"
- cp -r build/*-normal-server-release/images/jdk/* "$PKG_DEST/$java_home"
-}