Skip to content
Snippets Groups Projects
user avatar
Sven Hoexter authored
This feature allows us to create one Debian package,
which can be installed on different Debian releases.
7f0c8c89
History
Name Last commit Last update
debian
lib
Makefile
README
make-jpkg
make-jpkg.1
* To be done :

- update java-package wiki page : http://wiki.debian.org/JavaPackage?action=edit&editor=text
- make symbolic links for j2se/jre/bin/* in j2se/bin/ to avoid duplication
- make symbolic links for j2se/jre/man/man1/* in j2se/man/man1 to avoid duplication
- make symbolic links for j2se/jre/man/ja_JP.UTF-8 in j2se/man/ja to avoid duplication
- install into a multiarch location to allow installing the i386 client vm on amd64 and ia64 (Matthias Klose <doko@ubuntu.com>)
- ? kinit, klist, and ktab not installed; handling of /etc/krb5.conf not addressed



* Resources :

http://wiki.debian.org/JavaPackage
http://packages.qa.debian.org/j/java-package.html



* Main variables used in the scripts :

debian_dir : debian files dir during packaging, set by make-jpkg
install_dir : package files dir during packaging, set by make-jpkg
DEB_BUILD_ARCH = amd64, .., set by common.sh/get_architecture
DEB_BUILD_GNU_TYPE = x86_64-linux-gnu, .., set by common.sh/get_architecture
jvm_base : jvm package installation dir, set by make-jpkg
javadoc_base : javadoc package installation dir, set by make-jpkg
j2se_package : final package name, set by j2re/j2sdk/j2sdk-doc.sh
j2se_name : name of installed package within jvm_base, set by j2re/j2sdk/j2sdk-doc.sh

j2se_install : name of function generating postinst script content, set by each_provider*-j2re/j2sdk/j2sdk-doc.sh
j2se_remove : name of function generating prerm script content, set by each_provider*-j2re/j2sdk/j2sdk-doc.sh
j2se_jinfo : name of function generating .jinfo file content, set by each_provider*-j2re/j2sdk/j2sdk-doc.sh