2009-03-21 09:37:17 +01:00
|
|
|
# Description: Java 2 Runtime Kit
|
2011-08-31 10:39:05 +02:00
|
|
|
# URL: http://www.oracle.com/technetwork/java/index.html
|
2009-03-21 09:37:17 +01:00
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
|
|
# Packager: Simone Rota, sip at crux dot nu
|
2006-10-07 16:09:54 +00:00
|
|
|
|
|
|
|
name=jre
|
2012-06-13 14:30:52 +02:00
|
|
|
version=1.7.0_05
|
2011-02-16 23:55:43 +01:00
|
|
|
release=1
|
2012-06-13 14:30:52 +02:00
|
|
|
source=(file:///$name-7u5-linux-i586.tar.gz)
|
2006-10-07 16:09:54 +00:00
|
|
|
|
|
|
|
build(){
|
2011-08-31 10:39:05 +02:00
|
|
|
cd $name$version
|
2006-10-07 16:09:54 +00:00
|
|
|
|
2011-08-31 10:39:05 +02:00
|
|
|
install -d $PKG/usr/{bin,man,lib/$name$version}
|
|
|
|
mv man/man1 $PKG/usr/man
|
|
|
|
mv bin lib plugin $PKG/usr/lib/$name$version
|
2011-02-16 23:55:43 +01:00
|
|
|
|
2011-08-31 10:39:05 +02:00
|
|
|
ln -s $name$version $PKG/usr/lib/java
|
2009-03-21 09:37:17 +01:00
|
|
|
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
|
2006-10-07 16:09:54 +00:00
|
|
|
}
|