[Pkg-ocaml-maint-commits] r2630 - in trunk/packages/debcheck/trunk/debian: . patches

Ralf Treinen treinen at costa.debian.org
Tue Apr 18 17:38:26 UTC 2006


Author: treinen
Date: 2006-04-18 17:38:26 +0000 (Tue, 18 Apr 2006)
New Revision: 2630

Added:
   trunk/packages/debcheck/trunk/debian/patches/
   trunk/packages/debcheck/trunk/debian/patches/00list
   trunk/packages/debcheck/trunk/debian/patches/01Makefile.dpatch
Modified:
   trunk/packages/debcheck/trunk/debian/control
   trunk/packages/debcheck/trunk/debian/control.in
   trunk/packages/debcheck/trunk/debian/rules
Log:
debcheck: closer to operative package


Modified: trunk/packages/debcheck/trunk/debian/control
===================================================================
--- trunk/packages/debcheck/trunk/debian/control	2006-04-18 17:28:20 UTC (rev 2629)
+++ trunk/packages/debcheck/trunk/debian/control	2006-04-18 17:38:26 UTC (rev 2630)
@@ -1,14 +1,14 @@
 Source: debcheck
-Section: debian
+Section: devel
 Priority: optional
 Maintainer: Ralf Treinen <treinen at debian.org>
 Standards-Version: 3.6.2
-Build-Depends-Indep: ocaml-nox-3.09.1, debhelper (>= 4.0)
+Build-Depends: ocaml-nox-3.09.1, debhelper (>= 4.0)
 
 Package: debcheck
 Architecture: any
 Depends: ${shlibs:Depends}
 Description: Checks whether package dependencies can be satisfied
-  This software checks whether for every package of a distribution it is
-  possible to satisfy its dependencies and conflicts within this
-  distribution.
+ This software checks whether for every package of a distribution it is
+ possible to satisfy its dependencies and conflicts within this
+ distribution.

Modified: trunk/packages/debcheck/trunk/debian/control.in
===================================================================
--- trunk/packages/debcheck/trunk/debian/control.in	2006-04-18 17:28:20 UTC (rev 2629)
+++ trunk/packages/debcheck/trunk/debian/control.in	2006-04-18 17:38:26 UTC (rev 2630)
@@ -1,14 +1,14 @@
 Source: debcheck
-Section: debian
+Section: devel
 Priority: optional
 Maintainer: Ralf Treinen <treinen at debian.org>
 Standards-Version: 3.6.2
-Build-Depends-Indep: ocaml-nox-#OcamlABI#, debhelper (>= 4.0)
+Build-Depends: ocaml-nox-#OcamlABI#, debhelper (>= 4.0)
 
 Package: debcheck
 Architecture: any
 Depends: ${shlibs:Depends}
 Description: Checks whether package dependencies can be satisfied
-  This software checks whether for every package of a distribution it is
-  possible to satisfy its dependencies and conflicts within this
-  distribution.
+ This software checks whether for every package of a distribution it is
+ possible to satisfy its dependencies and conflicts within this
+ distribution.

Added: trunk/packages/debcheck/trunk/debian/patches/00list
===================================================================
--- trunk/packages/debcheck/trunk/debian/patches/00list	2006-04-18 17:28:20 UTC (rev 2629)
+++ trunk/packages/debcheck/trunk/debian/patches/00list	2006-04-18 17:38:26 UTC (rev 2630)
@@ -0,0 +1 @@
+01Makefile

Added: trunk/packages/debcheck/trunk/debian/patches/01Makefile.dpatch
===================================================================
--- trunk/packages/debcheck/trunk/debian/patches/01Makefile.dpatch	2006-04-18 17:28:20 UTC (rev 2629)
+++ trunk/packages/debcheck/trunk/debian/patches/01Makefile.dpatch	2006-04-18 17:38:26 UTC (rev 2630)
@@ -0,0 +1,16 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01Makefile.dpatch by Ralf Treinen <treinen at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad trunk~/Makefile trunk/Makefile
+--- trunk~/Makefile	2006-04-17 21:53:39.000000000 +0200
++++ trunk/Makefile	2006-04-18 18:43:44.000000000 +0200
+@@ -57,4 +57,4 @@
+ 	$(OCAMLDEP) $(DEPFLAGS) $$i \
+ 	> .depend
+ 
+-include .depend
++-include .depend


Property changes on: trunk/packages/debcheck/trunk/debian/patches/01Makefile.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Modified: trunk/packages/debcheck/trunk/debian/rules
===================================================================
--- trunk/packages/debcheck/trunk/debian/rules	2006-04-18 17:28:20 UTC (rev 2629)
+++ trunk/packages/debcheck/trunk/debian/rules	2006-04-18 17:38:26 UTC (rev 2630)
@@ -1,6 +1,8 @@
 #!/usr/bin/make -f
 # debian/rules for debcheck
 
+include /usr/share/dpatch/dpatch.make
+
 # export DH_VERBOSE=1
 
 DESTDIR=`pwd`/debian/debcheck
@@ -10,19 +12,13 @@
 debian/control:
 	sed -e 's%#OcamlABI#%$(OCAMLABI)%' $@.in >$@
 
-Makefile: patch
-	dh_testdir
-	./configure\
-		--bindir=$(DESTDIR)/usr/bin\
-		--prefix=$(DESTDIR)/usr/share
-	touch configure-stamp
-
 build: debcheck
-debcheck:
+debcheck: patch
 	dh_testdir
+	$(MAKE) depend
 	$(MAKE)
 
-clean: 
+clean: unpatch 
 	dh_testdir
 	dh_testroot
 	-$(MAKE) clean
@@ -33,22 +29,24 @@
 	dh_testroot
 	dh_clean -k
 	dh_installdirs
-	cp debcheck /usr/bin
+	cp debcheck $(DESTDIR)/usr/bin
 
 binary-arch: build install
-
-binary-indep: build install
 	dh_testdir
 	dh_testroot
 	dh_installdocs
 	dh_installchangelogs 
 	dh_link
 	dh_compress
+	dh_strip
+	dh_shlibdeps
 	dh_fixperms
 	dh_installdeb
 	dh_gencontrol
 	dh_md5sums 
 	dh_builddeb
 
+binary-indep: build install
+
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install debian/control
+.PHONY: build clean binary-indep binary-arch binary install debian/control patch unpatch




More information about the Pkg-ocaml-maint-commits mailing list