jre: update to work for both x86_64 and i686 archs.

This commit is contained in:
davehome 2011-10-22 11:12:21 +00:00
parent 6aa89ac99f
commit 62a1f19e03
1 changed files with 10 additions and 5 deletions

View File

@ -2,14 +2,21 @@
pkgname=jre
_extraversion=1.7.0
version=7
revision=3
distfiles="http://download.oracle.com/otn-pub/java/jdk/${version}/jre-${version}-linux-x64.tar.gz"
revision=4
if [ "${xbps_machine}" = "x86_64" ]; then
distfiles="http://download.oracle.com/otn-pub/java/jdk/${version}/jre-${version}-linux-x64.tar.gz"
checksum=d829890d46295ab0cbfcbeb5c68ac7c90a5021689f7503c00b8bcf4bf9ea2f8d
else
distfiles="http://download.oracle.com/otn-pub/java/jdk/${version}/jre-${version}-linux-i586.tar.gz"
checksum=d0b7f2c48759462c07a96e0b28f2e937b3ccef7baf1c3c53dc3f28a840b7f1b6
fi
build_style=custom-install
short_desc="Oracle's Java Runtime Environment (JRE) - Version 7"
maintainer="davehome <davehome@redthumb.info.tm"
homepage="http://www.oracle.com/technetwork/java/javase/downloads/index.html"
license="oracle"
checksum=d829890d46295ab0cbfcbeb5c68ac7c90a5021689f7503c00b8bcf4bf9ea2f8d
long_desc="
Oracle Java SE 7 - Runtime Environment (JRE) only:
@ -19,8 +26,6 @@ long_desc="
improved support for dynamic and script languages, updates to security,
internationalization and web standards and much more."
# no i386...
only_for_archs=x86_64
gtk_iconcache_dirs="
/usr/share/icons/hicolor
/usr/share/icons/HighContrast