~ubuntu-java/uj/openjdk6

« back to all changes in this revision

Viewing changes to rules

  • Committer: Matthias Klose
  • Date: 2008-04-08 13:41:28 UTC
  • Revision ID: doko@ubuntu.com-20080408134128-b8ri2979izf8i6kw
  * binfmt-support: Handle /usr/share/binfmts/jar as a slave symlink of
    the jexec alternative, install the binfmt file in the jre libdir.
    Use the jexec alternative in the binfmt file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
620
620
 
621
621
        dh_installdirs -p$(p_jrehl) \
622
622
                usr/share/applications \
623
 
                usr/share/doc/$(p_jre)
 
623
                usr/share/doc/$(p_jre) \
 
624
                usr/share/binfmts
624
625
 
625
626
        dh_installdirs -p$(p_jre) \
626
627
                usr/share/applications \
712
713
          done; \
713
714
        ) > $(d_jrehl)/$(TOP)/.$(jdiralias).jinfo
714
715
 
 
716
        ( \
 
717
          echo 'package $(basename)'; \
 
718
          echo 'interpreter /usr/bin/jexec'; \
 
719
          echo 'magic PK\x03\x04'; \
 
720
        ) > $(d_jrehl)/$(basedir)/jre/lib/jar.binfmt
 
721
 
715
722
        : # install a wrapper for javaws
716
723
        mv $(d_jre)/$(basedir)/jre/bin/javaws $(d_jre)/$(basedir)/jre/bin/javaws.real
717
724
        install -m 755 debian/javaws-wrapper.sh $(d_jre)/$(basedir)/jre/bin/javaws