[Pkg-ocaml-maint-commits] [SCM] ocaml-bitmatch packaging branch, master, updated. 344f2bde52db9b74b15b7fa2a85747dad6a8ba47

Sylvain Le Gall gildor at debian.org
Thu Jul 10 20:22:13 UTC 2008


The following commit has been merged in the master branch:
commit 344f2bde52db9b74b15b7fa2a85747dad6a8ba47
Author: Sylvain Le Gall <gildor at debian.org>
Date:   Thu Jul 10 22:21:58 2008 +0200

    Initial packaging.

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..e69f8aa
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,5 @@
+This package use dpatch for patching the source. 
+
+Please consider reading dpatch manpage to patch the source.
+
+ -- Sylvain Le Gall <gildor at debian.org>  Thu, 10 Jul 2008 21:15:09 +0200
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..eb6b722
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+ocaml-bitmatch (1.3-1) UNRELEASED; urgency=low
+
+  * Initial release. (Closes: #490221)
+
+ -- Sylvain Le Gall <gildor at debian.org>  Thu, 10 Jul 2008 21:15:40 +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..e6fdff6
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,32 @@
+Source: ocaml-bitmatch
+Section: libdevel
+Priority: optional
+Maintainer: Debian OCaml Maintainers <debian-ocaml-maint at lists.debian.org>
+Uploaders: Sylvain Le Gall <gildor at debian.org>
+Build-Depends: cdbs (>= 0.4.23), debhelper (>= 5), dpatch, ocaml-nox (>= 3.10.0-8), ocaml-findlib, camlp4-extra
+Standards-Version: 3.8.0
+Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/ocaml-bitmatch.git
+Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/ocaml-bitmatch.git
+Homepage: http://code.google.com/p/bitmatch/
+
+Package: libbitmatch-ocaml-dev
+Architecture: any
+Section: libdevel
+Depends: ocaml-base-${F:OCamlABI}
+Recommends: camlp4
+Description: Erlang-style bitstrings for OCaml
+ Bitmatch adds Erlang-style bitstrings and matching over bitstrings as a syntax
+ extension and library for OCaml.
+ .
+ You can use this module to both parse and generate binary formats, files and
+ protocols.
+ .
+ Bitstring handling is added as primitives to the language, making it simple to
+ use. 
+ .
+ Bitmatch handles integers, strings, sub-bitstrings, big-, little- and
+ native-endianness, signed and unsigned types, variable-width fields, fields
+ with arbitrary bit alignment.
+ .
+ This package contains header and OCaml library.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..1bf3c0b
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,42 @@
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
+Packaged-By: Sylvain Le Gall <gildor at debian.org> 
+Packaged-Date: Thu, 10 Jul 2008 21:54:01 +0200
+Upstream-author: Richard W.M. Jones <rjones at redhat.com>
+Original-Source-Location: http://code.google.com/p/bitmatch/
+
+Files: *
+Copyright: © 2007 Richard W.M. Jones, Red Hat Inc.
+License: LGPL-2.1+
+
+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'.
+
+Files: *.ml
+Files: *.mli
+Copyright: © 2007 Richard W.M. Jones, Red Hat Inc.
+License: LGPL-2.1+ | other
+
+As a special exception to the GNU Library General Public License, you
+may link, statically or dynamically, a "work that uses the Library"
+with a publicly distributed version of the Library to produce an
+executable file containing portions of the Library, and distribute
+that executable file under terms of your choice, without any of the
+additional requirements listed in clause 6 of the GNU Library General
+Public License.  By "a publicly distributed version of the Library",
+we mean either the unmodified Library as distributed by Red Hat, or a
+modified version of the Library that is distributed under the
+conditions defined in clause 2 of the GNU Library General Public
+License.  This exception does not however invalidate any other reasons
+why the executable file might be covered by the GNU Library General
+Public License.
+
+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'.
+
+Files: debian/*
+Copyright: © 2008 Sylvain Le Gall <gildor at debian.org>
+License: GPL
+
+On Debian GNU/Linux systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
diff --git a/debian/libbitmatch-ocaml-dev.dirs.in b/debian/libbitmatch-ocaml-dev.dirs.in
new file mode 100644
index 0000000..cc51687
--- /dev/null
+++ b/debian/libbitmatch-ocaml-dev.dirs.in
@@ -0,0 +1 @@
+ at OCamlStdlibDir@
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..13b6887
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,41 @@
+#!/usr/bin/make -f
+# debian/rules for ocaml-bitmatch 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/autotools.mk
+include /usr/share/cdbs/1/class/ocaml.mk
+
+DESTDIR_DEV=$(CURDIR)/debian/libbitmatch-ocaml-dev
+
+DEB_MAKE_CLEAN_TARGET    := distclean
+ifeq ($(OCAML_HAVE_OCAMLOPT),yes)
+DEB_MAKE_BUILD_TARGET    := all 
+DEB_MAKE_INSTALL_TARGET  := install 
+else
+# TODO
+DEB_MAKE_BUILD_TARGET    := all-byte 
+DEB_MAKE_INSTALL_TARGET  := install-byte 
+endif
+DEB_MAKE_INSTALL_TARGET  += OCAMLFIND_DESTDIR="$(DESTDIR_DEV)/$(OCAML_STDLIB_DIR)"
+
+OCAML_OCAMLDOC_PACKAGES = libbitmatch-ocaml-dev
+
+clean::
+	-$(RM) '$(CURDIR)/debian/libbitmatch-ocaml-dev.dirs'
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..79a00e3
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://code.google.com/p/bitmatch/downloads/list/ocaml-bitmatch-([0-9\.]*).tar.gz    

-- 
ocaml-bitmatch packaging



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