r3116 - packages/gpx2shp/debian

pere at alioth.debian.org pere at alioth.debian.org
Thu Jun 27 22:05:33 UTC 2013


Author: pere
Date: 2013-06-27 22:05:33 +0000 (Thu, 27 Jun 2013)
New Revision: 3116

Modified:
   packages/gpx2shp/debian/changelog
   packages/gpx2shp/debian/compat
   packages/gpx2shp/debian/control
   packages/gpx2shp/debian/rules
Log:
Switch to debhelper 8 and dh.

Modified: packages/gpx2shp/debian/changelog
===================================================================
--- packages/gpx2shp/debian/changelog	2013-06-27 21:53:40 UTC (rev 3115)
+++ packages/gpx2shp/debian/changelog	2013-06-27 22:05:33 UTC (rev 3116)
@@ -9,6 +9,7 @@
   * Add Vcs-Browser and Vcs-Svn values to control file.
   * Add Homepage URL to control file (Closes: #615423).
   * Updated Standards-Version 3.9.4 from 3.7.2.
+  * Switch to debhelper 8 and dh.
 
  -- Francesco Paolo Lovergine <frankie at debian.org>  Thu, 26 Mar 2009 16:59:03 +0100
 

Modified: packages/gpx2shp/debian/compat
===================================================================
--- packages/gpx2shp/debian/compat	2013-06-27 21:53:40 UTC (rev 3115)
+++ packages/gpx2shp/debian/compat	2013-06-27 22:05:33 UTC (rev 3116)
@@ -1 +1 @@
-5
+8

Modified: packages/gpx2shp/debian/control
===================================================================
--- packages/gpx2shp/debian/control	2013-06-27 21:53:40 UTC (rev 3115)
+++ packages/gpx2shp/debian/control	2013-06-27 22:05:33 UTC (rev 3116)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
 Uploaders: Petter Reinholdtsen <pere at debian.org>, Jon Saints <saintsjd at yahoo.com>, Francesco Paolo Lovergine <frankie at debian.org>
-Build-Depends: debhelper (>= 5), dpatch, libproj-dev, libexpat1-dev
+Build-Depends: debhelper (>= 8), dpatch, libproj-dev, libexpat1-dev
 Standards-Version: 3.9.4
 Homepage: http://gpx2shp.sourceforge.jp
 Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-grass/packages/gpx2shp
@@ -11,7 +11,7 @@
 
 Package: gpx2shp
 Architecture: any
-Depends: ${shlibs:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: convert GPS or GPX file to ESRI Shape file
  Convert GPS or GPX file to ESRI/Shape file.  Include the tools
  gps2shp and gpx2shp.  These are very useful when using collected GPS

Modified: packages/gpx2shp/debian/rules
===================================================================
--- packages/gpx2shp/debian/rules	2013-06-27 21:53:40 UTC (rev 3115)
+++ packages/gpx2shp/debian/rules	2013-06-27 22:05:33 UTC (rev 3116)
@@ -1,102 +1,12 @@
 #!/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
+include /usr/share/dpatch/dpatch.make
 
+build: patch-stamp
+	dh build
 
-# These are used for cross-compiling and for saving the configure script
-# from having to guess our platform (since we know it already)
-DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+clean: unpatch
+	dh clean
 
-
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
-
-config.status: configure patch
-	dh_testdir
-	# Add here commands to configure the package.
-	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
-
-
-build: build-stamp
-
-build-stamp:  config.status
-	dh_testdir
-
-	# Add here commands to compile the package.
-	$(MAKE) all check
-
-	touch build-stamp
-
-clean: doclean unpatch
-doclean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp 
-
-	# Add here commands to clean up after the build process.
-	[ ! -f Makefile ] || $(MAKE) distclean
-
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-	cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-	cp -f /usr/share/misc/config.guess config.guess
-endif
-
-	dh_clean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-
-	# Add here commands to install the package into debian/gpx2shp.
-	$(MAKE) install DESTDIR=$(CURDIR)/debian/gpx2shp
-
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs ChangeLog
-	dh_installdocs
-	dh_installexamples
-#	dh_install
-#	dh_installmenu
-#	dh_installdebconf	
-#	dh_installmime
-#	dh_installinfo
-	dh_installman
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-#	dh_makeshlibs
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install 
-
-include /usr/share/dpatch/dpatch.make
+%:
+	dh $@




More information about the Pkg-grass-devel mailing list