Package for $j2se_title
---
-This package has been automatically created with java-package ($version).
+This package has been automatically created with java-package ($version).
All files from the original distribution should have been installed in
the directory $jvm_base$j2se_name. Please take a look at this directory for
further information.
Section: non-free/devel
Priority: optional
Maintainer: $maintainer_name <$maintainer_email>
-Build-Depends: debhelper (>= 4.0.0)
-Standards-Version: 3.7.2
+Build-Depends: debhelper (>= 9)
+Standards-Version: 3.9.5
EOF
}
----------------------------------------------------------------------
EOF
- (
+ (
cd "$install_dir"
find * -type f -iname copyright |
while read file; do
exit 0
EOF
chmod 755 "$debian_dir/postinst"
-
+
cat > "$debian_dir/prerm" << EOF
#!/bin/bash
j2se_build() {
cd "$tmp"
echo "Create debian package:"
-
+
#export DH_VERBOSE=1
- export DH_COMPAT=7
export DH_OPTIONS=--tmpdir="$install_dir"
echo " dh_testdir"
local deb_filename="$( echo "${j2se_package}_"*.deb )"
echo " copy $deb_filename into directory $working_dir/"
cp "$deb_filename" "$working_dir/"
- if [ -n "$genchanges" ]; then
+ if [ -n "$genchanges" ]; then
echo " dpkg-genchanges"
local changes_filename="${deb_filename%.deb}.changes"
dpkg-genchanges -b -u. > "$changes_filename"