jre: some fixes to the generated binpkg.

This commit is contained in:
Juan RP 2011-10-14 07:57:28 +02:00
parent 4f28f8d22c
commit f045789c60

View file

@ -2,6 +2,7 @@
pkgname=jre
_extraversion=1.7.0
version=7
revision=1
distfiles="http://download.oracle.com/otn-pub/java/jdk/${version}/jre-${version}-linux-x64.tar.gz"
build_style=custom-install
short_desc="Oracle's Java Runtime Environment (JRE) - Version 7"
@ -18,7 +19,25 @@ long_desc="
improved support for dynamic and script languages, updates to security,
internationalization and web standards and much more."
gtk_iconcache_dirs="
/usr/share/icons/hicolor
/usr/share/icons/HighContrast
/usr/share/icons/LowContrast"
Add_dependency run glibc
Add_dependency run libgcc
Add_dependency run libX11
Add_dependency run libXext
Add_dependency run libXrender
Add_dependency run libXtst
Add_dependency run libXi
Add_dependency run alsa-lib
Add_dependency build libXrender-devel
Add_dependency build libXtst-devel
Add_dependency build alsa-lib-devel
Add_dependency full hicolor-icon-theme
Add_dependency full desktop-file-utils
Add_dependency full xdg-utils
Add_dependency full shared-mime-info
@ -59,4 +78,6 @@ do_install()
vcopy ${wrksrc}/release opt/java/jre
vcopy ${wrksrc}/Welcome.html opt/java/jre
rm -rf ${DESTDIR}/opt/java/jre/lib/desktop
}