[Pkg-ocaml-maint-commits] [SCM] ocaml-dbus packaging branch, master, updated. debian/0.06-1-1-gd58d6aa
Sylvain Le Gall
gildor at debian.org
Sun Jun 8 22:50:56 UTC 2008
The following commit has been merged in the master branch:
commit ec2b1872efe74c79b1f918e0e678adc5c0a47ff2
Author: Sylvain Le Gall <gildor at debian.org>
Date: Sun Jun 8 23:23:29 2008 +0200
Initial packaging
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..8c1ee17
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+ocaml-dbus (0.06-1) unstable; urgency=low
+
+ * Initial release. (Closes: #XXXXX)
+
+ -- Sylvain Le Gall <gildor at debian.org> Sun, 08 Jun 2008 23:19:41 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..240eb12
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,34 @@
+Source: ocaml-dbus
+Section: libdevel
+Priority: optional
+Maintainer: Sylvain Le Gall <gildor at debian.org>
+Build-Depends: cdbs (>= 0.4.52), ocaml-nox (>= 3.10.1), debhelper (>> 5), ocaml-findlib, dpatch, libdbus-1-dev, pkg-config
+Standards-Version: 3.7.3
+Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/ocaml-dbus.git
+Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/ocaml-dbus.git
+Homepage: http://tab.snarc.org/projects/ocaml_dbus/
+
+Package: libdbus-ocaml
+Architecture: any
+Depends: ocaml-base-nox-${F:OCamlABI}, ${shlibs:Depends}
+Description: OCaml bindings for the dbus API
+ This library provides OCaml bindings for using dbus.
+ .
+ D-Bus is a projects that permits program to communicate with each other, using
+ a simple IPC protocol
+ .
+ This package contains shared library.
+
+Package: libdbus-ocaml-dev
+Architecture: any
+Depends: ocaml-nox-${F:OCamlABI}, libdbus-ocaml (= ${binary:Version})
+Description: OCaml bindings for the dbus API
+ This library provides OCaml bindings for using dbus.
+ .
+ D-Bus is a projects that permits program to communicate with each other, using
+ a simple IPC protocol
+ .
+ .
+ This package contains header and OCaml library.
+
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..3763779
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,25 @@
+This package was debianized by Sylvain Le Gall <gildor at debian.org> on
+Sun, 08 Jun 2008 23:04:19 +0200
+
+It was downloaded from :
+
+http://tab.snarc.org/projects/ocaml_dbus/
+
+Copyright:
+
+ Copyright (C) 2006 Vincent Hanquez
+
+License:
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; version 2.1 only.
+
+ This program 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.
+
+On Debian GNU/Linux systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL-2.1'.
+
diff --git a/debian/libdbus-ocaml-dev.dirs.in b/debian/libdbus-ocaml-dev.dirs.in
new file mode 100644
index 0000000..cc51687
--- /dev/null
+++ b/debian/libdbus-ocaml-dev.dirs.in
@@ -0,0 +1 @@
+ at OCamlStdlibDir@
diff --git a/debian/libdbus-ocaml.dirs.in b/debian/libdbus-ocaml.dirs.in
new file mode 100644
index 0000000..a8131b4
--- /dev/null
+++ b/debian/libdbus-ocaml.dirs.in
@@ -0,0 +1 @@
+ at OCamlDllDir@
diff --git a/debian/patches/00list b/debian/patches/00list
new file mode 100644
index 0000000..e69de29
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..6c52373
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,45 @@
+#!/usr/bin/make -f
+# debian/rules for ocaml-dbus package
+# Copyright (C) 2008 Sylvain Le Gall <gildor at debian.org>
+#
+# This program 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, or (at
+# your option) any later version.
+#
+# This program 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, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+# MA 02110-1301, USA.
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/dpatch.mk
+include /usr/share/cdbs/1/class/makefile.mk
+include /usr/share/cdbs/1/class/ocaml.mk
+
+DESTDIR_DEV=$(CURDIR)/debian/libdbus-ocaml-dev
+DESTDIR=$(CURDIR)/debian/libdbus-ocaml
+
+DEB_MAKE_CLEAN_TARGET := clean
+ifeq ($(OCAML_HAVE_OCAMLOPT),yes)
+DEB_MAKE_BUILD_TARGET := all-opt
+DEB_MAKE_INSTALL_TARGET := install-opt
+else
+DEB_MAKE_BUILD_TARGET := all-byte
+DEB_MAKE_INSTALL_TARGET := install-byte
+endif
+DEB_MAKE_INSTALL_TARGET += OCAMLDESTDIR="$(DESTDIR_DEV)/$(OCAML_STDLIB_DIR)"
+
+OCAML_OCAMLDOC_PACKAGES = libdbus-ocaml-dev
+
+clean::
+ $(RM) '$(CURDIR)/debian/libdbus-ocaml-dev.dirs'
+ $(RM) '$(CURDIR)/debian/libdbus-ocaml.dirs'
+
+install/libdbus-ocaml-dev::
+ mv $(DESTDIR_DEV)/$(OCAML_STDLIB_DIR)/dbus/*.so $(DESTDIR)/$(OCAML_DLL_DIR)/
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..14457d7
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://tab.snarc.org/download/ocaml/ocaml_dbus-([0-9\.]*).tar.bz2
--
ocaml-dbus packaging
More information about the Pkg-ocaml-maint-commits
mailing list