1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
#!/usr/bin/make -f
include /usr/share/javahelper/java-vars.mk
VERSION=$(shell dpkg-parsechangelog | sed -n '/^Version/s/Version: \(.*\)-[^-]*$$/\1/p')
%:
dh $@ --with javahelper
override_dh_auto_test:
override_dh_auto_build:
# Add here commands to compile the package.
make JAR=fastjar JAVAC=${JAVA_HOME}/bin/javac JCFLAGS="-encoding utf8 -source 1.5 -Xlint:all" JAVA=java PREFIX=/usr all
override_dh_auto_clean:
# Add here commands to clean up after the build process.
make clean
override_dh_auto_install:
# Add here commands to install the package into debian/tmp
make DESTDIR=$(CURDIR)/debian/tmp PREFIX=/usr install
override_dh_installdocs:
dh_installdocs -i README dealing-howto.pdf
override_dh_install:
dh_install -i --sourcedir=$(CURDIR)/debian/tmp
override_dh_link:
dh_link -ppescetti usr/share/pescetti/pescetti.jar usr/games/pescetti
dh_link -ppescetti usr/share/pescetti/dup2dds.jar usr/games/dup2dds
override_jh_manifest:
jh_manifest -j"$(JAVA_HOME)" debian/pescetti/usr/share/pescetti/pescetti.jar debian/pescetti/usr/share/pescetti/dup2dds.jar
|