Update packaging to dh7
authorAlexander Chernyakhovsky <achernya@mit.edu>
Sun, 2 Jun 2013 00:50:38 +0000 (20:50 -0400)
committerAlexander Chernyakhovsky <achernya@mit.edu>
Sun, 2 Jun 2013 01:01:28 +0000 (21:01 -0400)
debian/changelog
debian/compat
debian/control
debian/rules

index cc1204c..b308a48 100644 (file)
@@ -1,3 +1,9 @@
+invirt-vnc-client (0.0.11~dvorak42achernya1) precise; urgency=low
+
+  * Switch to dh7
+
+ -- Alexander Chernyakhovsky <achernya@mit.edu>  Sat, 01 Jun 2013 21:00:58 -0400
+
 invirt-vnc-client (0.0.11~dvorak42) precise; urgency=low
 
   * Updated to openjdk
index b8626c4..7f8f011 100644 (file)
@@ -1 +1 @@
-4
+7
index 8f6640a..fd6a327 100644 (file)
@@ -2,7 +2,7 @@ Source: invirt-vnc-client
 Section: base
 Priority: extra
 Maintainer: Invirt project <invirt@mit.edu>
-Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 4.1.0), quilt, openjdk-7-jdk | java-compiler
+Build-Depends: debhelper (>= 7.0.50~), quilt, openjdk-7-jdk | java-compiler
 Standards-Version: 3.9.3
 
 Package: invirt-vnc-client
index 87093b1..acd059a 100755 (executable)
@@ -1,11 +1,14 @@
 #!/usr/bin/make -f
+%:
+       dh $@
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/patchsys-quilt.mk
-include /usr/share/cdbs/1/class/makefile.mk
+override_dh_auto_build:
+       dh_auto_build -- JCFLAGS="-target 1.5"
 
-INVIRT_VNC_CLIENT_PREFIX = $(DEB_DESTDIR)/usr/share/invirt-vnc-client
-DEB_MAKE_INSTALL_TARGET = install INSTALL_DIR=$(INVIRT_VNC_CLIENT_PREFIX)
+override_dh_auto_install:
+       dh_auto_install -- INSTALL_DIR=debian/invirt-vnc-client/usr/share/invirt-vnc-client/
 
-install/invirt-vnc-client::
-       cp $(INVIRT_VNC_CLIENT_PREFIX)/VncViewer.jar $(INVIRT_VNC_CLIENT_PREFIX)/VncViewer.src.jar
+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