Skip to content
Permalink
b7ef5b9c45
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 37 lines (25 sloc) 912 Bytes
#!/bin/env beesh
# BEE_VERSION java-1.8.0_181-0
# http://www.oracle.com/technetwork/java/javase/downloads/index.html
SRCURL[0]="file:///src/mariux/download/jdk-8u${PKGEXTRAVERSION}-linux-x64.tar.gz"
#SRCURL[1]="/src/mariux/download/UnlimitedJCEPolicyJDK7.zip"
PATCHURL[0]=""
BEE_EXTRACT_STRIP=0
mee_patch() {
unzip /src/mariux/download/jce_policy-8.zip
}
mee_install() {
mkdir -p ${D}/usr/local/bin
mv ${S}/jdk${PKGFULLVERSION} ${D}/usr/local/java
for i in $(ls ${D}/usr/local/java/bin) ; do
ln -s /usr/local/java/bin/${i} ${D}/usr/local/bin/${i}
done
mkdir -p ${D}/usr/lib/mozilla/plugins
ln -s /usr/local/java/jre/lib/amd64/libnpjp2.so ${D}/usr/lib/mozilla/plugins/libnpjp2.so
}
mee_install_post() {
cp -v \
${S}/UnlimitedJCEPolicyJDK8/US_export_policy.jar \
${S}/UnlimitedJCEPolicyJDK8/local_policy.jar \
${D}/usr/local/java/jre/lib/security/
}