Removed the references to "Java 2" from the description of the generated JRE package
[sven/java-package.git] / lib / jre.sh
1
2 j2re_control() {
3     j2se_control
4     cat << EOF
5 Package: $j2se_package
6 Architecture: any
7 Depends: \${shlibs:Depends}
8 Recommends: netbase
9 Provides: java-virtual-machine, java-runtime, java2-runtime, java${j2se_release}-runtime, java$((${j2se_release}-1))-runtime, java$((${j2se_release}-2))-runtime, java-runtime-headless, java2-runtime-headless, java${j2se_release}-runtime-headless, java$((${j2se_release}-1))-runtime-headless, java$((${j2se_release}-2))-runtime-headless, java-browser-plugin
10 Description: $j2se_title
11  The Java(TM) SE Runtime Environment contains the Java virtual machine,
12  runtime class libraries, and Java application launcher that are
13  necessary to run programs written in the Java programming language.
14  It is not a development environment and does not contain development
15  tools such as compilers or debuggers.  For development tools, see the
16  Java SE Development Kit (JDK).
17  .
18  This package has been automatically created with java-package ($version).
19 EOF
20 }
21
22 # build debian package
23 j2re_run() {
24     echo
25     diskfree "$j2se_required_space"
26     read_maintainer_info
27     j2se_package="$j2se_vendor-java$j2se_release-jre"
28     j2se_name="jre-$j2se_release-$j2se_vendor-$j2se_arch"
29     local target="$install_dir$jvm_base$j2se_name"
30     install -d -m 755 "$( dirname "$target" )"
31     extract_bin "$archive_path" "$j2se_expected_min_size" "$target"
32     rm -rf "$target/.systemPrefs"
33     echo "7" > "$debian_dir/compat"
34     j2se_readme > "$debian_dir/README.Debian"
35     j2se_changelog > "$debian_dir/changelog"
36     j2re_control > "$debian_dir/control"
37     j2se_copyright > "$debian_dir/copyright"
38     j2se_install_scripts
39     install -d "$target/debian"
40     j2se_info > "$target/debian/info"
41     eval "$j2se_jinfo" > "$install_dir$jvm_base.$j2se_name.jinfo"
42     j2se_build
43 }