Juergen Daubert
1e88043183
Security fixes, see http://www.oracle.com/technetwork/java/javase/7u51-relnotes-2085002.html http://www.oracle.com/technetwork/topics/security/cpujan2014-1972949.html
23 lines
605 B
Plaintext
23 lines
605 B
Plaintext
# Description: Java 2 Runtime Kit
|
|
# URL: http://java.sun.com
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
# Packager: Simone Rota, sip at crux dot nu
|
|
|
|
name=jre
|
|
version=1.7.0_51
|
|
release=1
|
|
source=(file:///$name-7u${version#*_}-linux-x64.tar.gz)
|
|
|
|
build(){
|
|
cd $name$version
|
|
|
|
install -d $PKG/usr/{bin,man,lib/$name}
|
|
mv man/man1 $PKG/usr/man
|
|
mv bin lib plugin $PKG/usr/lib/$name
|
|
|
|
ln -s $name $PKG/usr/lib/java
|
|
ln -s ../lib/java/bin/java $PKG/usr/bin/java
|
|
ln -s ../lib/java/bin/javaws $PKG/usr/bin/javaws
|
|
ln -s ../lib/java/bin/keytool $PKG/usr/bin/keytool
|
|
}
|