r46883 - in /packages/hyantesite/trunk/debian: changelog control rules

guelton-guest at users.alioth.debian.org guelton-guest at users.alioth.debian.org
Mon Aug 25 12:21:54 UTC 2014


Author: guelton-guest
Date: Mon Aug 25 12:21:53 2014
New Revision: 46883

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=46883
Log:
Modernize hyantesite debian/rules

Modified:
    packages/hyantesite/trunk/debian/changelog
    packages/hyantesite/trunk/debian/control
    packages/hyantesite/trunk/debian/rules

Modified: packages/hyantesite/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/hyantesite/trunk/debian/changelog?rev=46883&op=diff
==============================================================================
--- packages/hyantesite/trunk/debian/changelog	(original)
+++ packages/hyantesite/trunk/debian/changelog	Mon Aug 25 12:21:53 2014
@@ -1,3 +1,9 @@
+hyantesite (1.3.0-2) unstable; urgency=low
+
+  * Move rules to dh system
+
+ -- serge guelton <serge.guelton at enst-bretagne.fr>  Tue, 25 Aug 2014 10:12:31 +0200
+
 hyantesite (1.3.0-1) unstable; urgency=low
 
   * new upstream release

Modified: packages/hyantesite/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/hyantesite/trunk/debian/control?rev=46883&op=diff
==============================================================================
--- packages/hyantesite/trunk/debian/control	(original)
+++ packages/hyantesite/trunk/debian/control	Mon Aug 25 12:21:53 2014
@@ -2,7 +2,7 @@
 Priority: extra
 Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
 Uploaders: serge guelton <serge.guelton at enst-bretagne.fr>
-Build-Depends: debhelper (>= 7), autotools-dev, doxygen, help2man, dpkg (>= 1.15.4) | install-info
+Build-Depends: debhelper (>= 7.0.50~), autotools-dev, doxygen, help2man, dpkg (>= 1.15.4) | install-info
 Standards-Version: 3.9.3
 Section: science
 Vcs-Svn: svn://svn.debian.org/debian-science/packages/hyantesite

Modified: packages/hyantesite/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/hyantesite/trunk/debian/rules?rev=46883&op=diff
==============================================================================
--- packages/hyantesite/trunk/debian/rules	(original)
+++ packages/hyantesite/trunk/debian/rules	Mon Aug 25 12:21:53 2014
@@ -9,117 +9,9 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+# main packaging script based on dh7 syntax
+%:
+	dh $@
 
-# 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)
-
-
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
-
-# shared library versions, option 1
-version=2.0.5
-major=2
-# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
-#version=`ls src/.libs/lib*.so.* | \
-# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
-#major=`ls src/.libs/lib*.so.* | \
-# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
-
-config.status: configure
-	dh_testdir
-	# Add here commands to configure the package.
-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
-	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" --enable-doc
-
-
-build: build-arch build-indep
-build-arch: build-stamp
-build-indep: build-stamp
-build-stamp:  config.status
-	dh_testdir
-
-	# Add here commands to compile the package.
-	$(MAKE)
-
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp 
-	
-	# Add here commands to clean up after the build process.
-	test ! -f Makefile || $(MAKE) distclean
-	rm -f config.sub config.guess
-	
-	dh_clean
-	
-	# restore deleted file that would be ignored by dpkg-source when git is
-	# present: this allows to use git-buildpackage
-	if test -d .git ; then \
-		git-checkout -- $$(git-status | \
-			sed -e '/^#[[:space:]]*deleted:[[:space:]]*/s/^#[[:space:]]*deleted:[[:space:]]*//p;d' | \
-			grep -v '^debian/') ; \
-	fi
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean
-	dh_installdirs
-
-	# Add here commands to install the package into debian/tmp
-	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
-
-
-# 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
-	find debian/tmp
-	dh_install --sourcedir=debian/tmp
-#	dh_installmenu
-#	dh_installdebconf	
-#	dh_installlogrotate
-#	dh_installemacsen
-#	dh_installpam
-#	dh_installmime
-#	dh_installinit
-#	dh_installcron
-	dh_installinfo
-	dh_installman 
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-#	dh_perl
-#	dh_python
-	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 
+override_dh_auto_configure:
+	dh_auto_configure -- --enable-doc




More information about the debian-science-commits mailing list