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

View file

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