#!/usr/bin/make -f
+%:
+ dh $@
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/makefile.mk
+override_dh_auto_build:
+ dh_auto_build -- JCFLAGS="-source 1.5 -target 1.5"
-DEB_SRCDIR=code
+override_dh_auto_install:
+ dh_auto_install -- INSTALL_DIR=debian/invirt-vnc-client/usr/share/invirt-vnc-client/
-binary-fixup/sipb-xen-vnc-client::
- svn co https://sipb-xen-dev.mit.edu:1111/trunk/packages/sipb-xen-vnc-client/code/ $(DEB_DESTDIR)/usr/local/lib/sipb-xen-vnc-client
+override_dh_install:
+ dh_install
+ mv debian/invirt-vnc-client/usr/share/invirt-vnc-client/VncViewer.jar \
+ debian/invirt-vnc-client//usr/share/invirt-vnc-client/VncViewer.src.jar