1 function j2re_readme() {
5 function j2re_changelog() {
9 function j2re_control() {
12 Package: $j2se_package
14 Depends: \${shlibs:Depends}
15 Recommends: netbase, libx11-6 | xlibs, libasound2, libgtk1.2
16 Provides: java-virtual-machine, java-runtime, java2-runtime, java-runtime-headless, java2-runtime-headless, java-browser-plugin, j2re${j2se_release}
17 Replaces: ${j2se_package}debian
18 Description: $j2se_title
19 The Java(TM) 2 Runtime Environment contains the Java virtual machine,
20 runtime class libraries, and Java application launcher that are
21 necessary to run programs written in the Java progamming language
22 (this includes the Java 2 Plug-In for Netscape and Mozilla
23 browsers). It is not a development environment and doesn't contain
24 development tools such as compilers or debuggers. For development
25 tools, see the Java 2 SDK, Standard Edition.
27 This package has been automatically created with java-package ($version).
31 function j2re_copyright() {
35 function j2re_install_scripts() {
39 function j2re_info() {
43 function j2re_build() {
47 # build debian package
50 diskfree "$j2se_required_space"
52 j2se_package="$j2se_vendor-j2re$j2se_release"
53 j2se_base="/usr/lib/jvm/j2re$j2se_release-$j2se_vendor"
54 local target="$install_dir$j2se_base"
55 install -d -m 755 "$( dirname "$target" )"
56 extract_bin "$archive_path" "$j2se_expected_min_size" "$target"
57 rm -rf "$target/.systemPrefs"
58 j2re_readme > "$debian_dir/README.Debian"
59 j2re_changelog > "$debian_dir/changelog"
60 j2re_control > "$debian_dir/control"
61 j2re_copyright > "$debian_dir/copyright"
63 install -d "$target/debian"
64 j2re_info > "$target/debian/info"