This is an automated email from the git hooks/post-receive script.

sebastic-guest pushed a commit to branch master
in repository mkgmapgui.

commit a452ff4f2a7541fe77d9e76bb2228698dcf7c107
Author: Mònica Ramírez Arceda <mon...@probeta.net>
Date:   Sun May 15 21:35:19 2011 +0200

    First changes to get build success.
---
 debian/control           |  6 ++++--
 debian/mkgmapgui.install |  1 +
 debian/rules             | 18 +++++++++---------
 3 files changed, 14 insertions(+), 11 deletions(-)

diff --git a/debian/control b/debian/control
index 1f1add2..fad674b 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,8 @@ Source: mkgmapgui
 Section: unknown
 Priority: extra
 Maintainer: Mònica Ramírez Arceda <mon...@probeta.net>
-Build-Depends: debhelper (>= 7.0.50~)
+Build-Depends: debhelper (>= 7.0.50~), javahelper (>=0.25)
+Build-Depends-Indep: default-jdk
 Standards-Version: 3.9.1
 Homepage: <insert the upstream URL, if relevant>
 #Vcs-Git: git://git.debian.org/collab-maint/mkgmapgui.git
@@ -10,6 +11,7 @@ Homepage: <insert the upstream URL, if relevant>
 
 Package: mkgmapgui
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: ${java:Depends}, ${misc:Depends}
+Recommends: ${java:Recommends}
 Description: <insert up to 60 chars description>
  <insert long description, indented with spaces>
diff --git a/debian/mkgmapgui.install b/debian/mkgmapgui.install
new file mode 100644
index 0000000..578e692
--- /dev/null
+++ b/debian/mkgmapgui.install
@@ -0,0 +1 @@
+mkgmapgui.jar usr/share/mkgmapgui
diff --git a/debian/rules b/debian/rules
index b760bee..8e8e8f3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,13 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+export DH_VERBOSE=1
+JAVA_HOME=/usr/lib/jvm/default-java
 
 %:
-       dh $@ 
+       dh $@ --with javahelper
+
+override_dh_link:
+       dh_link usr/share/mkgmapgui/mkgmapgui.jar usr/bin/mkgmapgui 
+
+override_jh_build:
+       jh_build mkgmapgui.jar .

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-grass/mkgmapgui.git

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to