1 function j2sdk_readme() {
5 function j2sdk_changelog() {
9 function j2sdk_control() {
12 Package: $j2se_package
14 Depends: \${shlibs:Depends}
15 Recommends: netbase, libx11-6 | xlibs, libasound2, libgtk1.2, libstdc++5
16 Provides: java-virtual-machine, java-runtime, java2-runtime, java-browser-plugin, java-compiler, java2-compiler, java-runtime-headless, java2-runtime-headless, java-sdk, java2-sdk, j2sdk$j2se_release, j2re$j2se_release
17 Replaces: ${j2se_package}debian
18 Description: $j2se_title
19 The Java(TM) 2 SDK is a development environment for building
20 applications, applets, and components that can be deployed on the
23 The Java(TM) 2 SDK software includes tools useful for developing and
24 testing programs written in the Java programming language and running
25 on the Java platform. These tools are designed to be used from the
26 command line. Except for appletviewer, these tools do not provide a
27 graphical user interface.
29 This package has been automatically created with java-package ($version).
33 function j2sdk_copyright() {
37 function j2sdk_install_scripts() {
41 function j2sdk_info() {
45 function j2sdk_build() {
49 # build debian package
50 function j2sdk_run() {
52 diskfree "$j2se_required_space"
54 j2se_package="$j2se_vendor-j2sdk$j2se_release"
55 j2se_base="/usr/lib/jvm/j2sdk$j2se_release-$j2se_vendor"
56 local target="$install_dir$j2se_base"
57 install -d -m 755 "$( dirname "$target" )"
58 extract_bin "$archive_path" "$j2se_expected_min_size" "$target"
59 rm -rf "$target/.systemPrefs"
60 j2sdk_readme > "$debian_dir/README.Debian"
61 j2sdk_changelog > "$debian_dir/changelog"
62 j2sdk_control > "$debian_dir/control"
63 j2sdk_copyright > "$debian_dir/copyright"
65 install -d "$target/debian"
66 j2sdk_info > "$target/debian/info"