aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhattenberger2013-02-21 13:24:47 +0000
committerhattenberger2013-02-21 13:24:47 +0000
commitfb61b15c88316d880085a7d28d33ed261e33d0f2 (patch)
tree2933cb265025475562649f3b116a49c1ca1420d0
parent55410db0ce5a6e5669df36156fa67ab8af36f1e4 (diff)
downloadivy-ocaml-fb61b15c88316d880085a7d28d33ed261e33d0f2.zip
ivy-ocaml-fb61b15c88316d880085a7d28d33ed261e33d0f2.tar.gz
ivy-ocaml-fb61b15c88316d880085a7d28d33ed261e33d0f2.tar.bz2
ivy-ocaml-fb61b15c88316d880085a7d28d33ed261e33d0f2.tar.xz
update debian rules to dh tools
-rw-r--r--debian/changelog.3.12.113
-rw-r--r--debian/compat2
-rw-r--r--debian/control11
-rw-r--r--debian/copyright27
-rwxr-xr-xdebian/rules88
5 files changed, 52 insertions, 89 deletions
diff --git a/debian/changelog.3.12.1 b/debian/changelog.3.12.1
index 382bbab..029d429 100644
--- a/debian/changelog.3.12.1
+++ b/debian/changelog.3.12.1
@@ -8,12 +8,25 @@ ivy-ocaml (1.1-15) unstable; urgency=low
-- Gautier Hattenberger <gautier.hattenberger@enac.fr> Thu, 21 Feb 2013 09:53:31 +0100
+ivy-ocaml (1.1-14~precise) precise; urgency=low
+
+ * updated version for ubuntu precise ppa build
+
+ -- Felix Ruess <felix.ruess@gmail.com> Wed, 04 Apr 2012 15:27:59 +0200
+
ivy-ocaml (1.1-13) unstable; urgency=low
* Update for ocaml 1.12.0
-- Gautier Hattenberger <gautier.hattenberger@enac.fr> Tue, 18 Oct 2011 17:53:31 +0100
+ivy-ocaml (1.1-12.1) unstable; urgency=low
+
+ * Non-maintainer upload
+ * Updated all debian files to use dh (debhelper 7)
+
+ -- Felix Ruess <felix.ruess@gmail.com> Fri, 21 Oct 2011 19:47:25 +0200
+
ivy-ocaml (1.1-12) unstable; urgency=low
* Support for ivy-c_3.11.8
diff --git a/debian/compat b/debian/compat
index 7ed6ff8..7f8f011 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+7
diff --git a/debian/control b/debian/control
index 7707a38..4bba10f 100644
--- a/debian/control
+++ b/debian/control
@@ -2,12 +2,17 @@ Source: ivy-ocaml
Section: net
Priority: optional
Maintainer: Gautier Hattenberger <gautier.hattenberger@enac.fr>
-Build-Depends: debhelper (>= 4.0.0), ocaml-nox, ivy-c-dev (>=3.8), libglib2.0-dev, libpcre3-dev, ivy-c(>=3.8)
-Standards-Version: 3.6.1
+Build-Depends: debhelper (>= 7.0.50~), dh-ocaml (>= 0.9.0), ocaml-nox, libglib2.0-dev, libpcre3-dev, ivy-c-dev (>=3.11)
+Standards-Version: 3.9.2
+Homepage: http://www2.tls.cena.fr/products/ivy/
+Vcs-Svn: http://svn.tls.cena.fr/svn/ivy/ivy-ocaml/trunk
+Vcs-Browser: http://svn.tls.cena.fr/wsvn/ivy/ivy-ocaml/trunk/#_ivy-ocaml_trunk_
Package: ivy-ocaml
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, ocaml-nox-${F:OCamlABI}, ivy-c(>= 3.8)
+Depends: ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends}, ivy-c(>= 3.11)
+Suggests: ocaml-findlib
+Provides: ${ocaml:Provides}
Description: Ocaml binding for the Ivy software bus
This package provides the bindings for the Ivy software bus. Standalone
linking and with the glib mainloop are provided.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..5ee9dea
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,27 @@
+Format: http://dep.debian.net/deps/dep5
+Upstream-Name: ivy-ocaml
+Source: http://www2.tls.cena.fr/products/ivy/
+
+Files: *
+Copyright: 2005-2011 CENA
+License:
+ LGPL
+ see also http://www2.tls.cena.fr/products/ivy/download/legalissues.html
+Files: debian/*
+Copyright: 2011 Felix Ruess <felix.ruess@gmail.com>
+License: GPL-2+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
diff --git a/debian/rules b/debian/rules
index a6550e0..6827cc6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,91 +9,9 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+%:
+ dh $@ --with ocaml
-OCAMLABI := $(shell ocamlc -version)
-
-
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
-else
- CFLAGS += -O2
-endif
-
-configure: configure-stamp
-configure-stamp:
- dh_testdir
- # Add here commands to configure the package.
-
- touch configure-stamp
-
-
-build: build-stamp
-
-build-stamp: configure-stamp
- dh_testdir
-
- # Add here commands to compile the package.
- $(MAKE)
- #docbook-to-man debian/ivy-ocaml.sgml > ivy-ocaml.1
-
- touch build-stamp
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp configure-stamp
-
- # Add here commands to clean up after the build process.
- -$(MAKE) clean
-
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
-
- # Add here commands to install the package into debian/ivy-ocaml.
+override_dh_auto_install :
$(MAKE) install DESTDIR=$(CURDIR)/debian/ivy-ocaml
-
-# 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
- dh_installdocs examples
- dh_installexamples
-# dh_install
-# 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 -- -VF:OCamlABI="$(OCAMLABI)"
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure