The following commit has been merged in the master branch:
commit 2590fcdaf64a2acfc4ff31690f854b4b1f7f9c42
Author: Mehdi Dogguy <me...@debian.org>
Date:   Sun Jan 6 12:09:03 2013 +0100

    Initial packaging

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..f032cb5
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+cmdliner (0.9.3-1) unstable; urgency=low
+
+  * Initial upload (Closes: #641986)
+
+ -- Mehdi Dogguy <me...@debian.org>  Sun, 06 Jan 2013 10:50:00 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..7fb2b9f
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,37 @@
+Source: cmdliner
+Section: ocaml
+Priority: optional
+Maintainer: Debian OCaml Maintainers <debian-ocaml-ma...@lists.debian.org>
+Uploaders:
+ Mehdi Dogguy <me...@debian.org>
+Build-Depends:
+ debhelper (>= 8),
+ ocaml-nox,
+ ocaml-findlib (>= 1.2.4),
+ dh-ocaml (>= 0.9)
+Standards-Version: 3.9.3
+Homepage: http://erratique.ch/software/cmdliner
+Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/cmdliner.git
+Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/cmdliner.git
+
+Package: libcmdliner-ocaml-dev
+Architecture: any
+Section: ocaml
+Depends:
+ ${ocaml:Depends},
+ ${shlibs:Depends},
+ ${misc:Depends}
+Suggests:
+ ocaml-findlib
+Provides:
+ ${ocaml:Provides}
+Description: declarative definition of command line interfaces
+ It provides a simple and compositional mechanism to convert command
+ line arguments to OCaml values and pass them to your functions.
+ The module automatically handles syntax errors, help messages and
+ UNIX man page generation. It supports programs with single or
+ multiple commands (like darcs or git) and respects most of the POSIX
+ and GNU conventions.
+ .
+ This package contains the development modules you need to use Cmdliner
+ in your programs.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..feca512
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,39 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: http://erratique.ch/logiciel/cmdliner
+
+Files: *
+Copyright: © 2011-2012 Daniel C. Bünzli
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ .
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ .
+ 2. Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in the
+    documentation and/or other materials provided with the
+    distribution.
+ .
+ 3. Neither the name of the Daniel C. Bünzli nor the names of
+    contributors may be used to endorse or promote products derived
+    from this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Files: debian/*
+Copyright: © 2013 Mehdi Dogguy <me...@debian.org>
+License: GPL-2
+ The Debian packaging is licensed under the GPL, see
+ `/usr/share/common-licenses/GPL-2'.
diff --git a/debian/examples b/debian/examples
new file mode 100644
index 0000000..ab1cfb4
--- /dev/null
+++ b/debian/examples
@@ -0,0 +1 @@
+test/*
diff --git a/debian/libcmdliner-ocaml-dev.doc-base 
b/debian/libcmdliner-ocaml-dev.doc-base
new file mode 100644
index 0000000..d10044b
--- /dev/null
+++ b/debian/libcmdliner-ocaml-dev.doc-base
@@ -0,0 +1,9 @@
+Document: libcmdliner-ocaml-dev
+Title: command line interface handler
+Author: Daniel C. Bünzli
+Abstract: Documentation of the OCaml Cmdliner module
+Section: Programming/OCaml
+
+Format: HTML
+Index: /usr/share/doc/libcmdliner-ocaml-dev/doc/index.html
+Files: /usr/share/doc/libcmdliner-ocaml-dev/doc/*
diff --git a/debian/libcmdliner-ocaml-dev.docs 
b/debian/libcmdliner-ocaml-dev.docs
new file mode 100644
index 0000000..d2fcd72
--- /dev/null
+++ b/debian/libcmdliner-ocaml-dev.docs
@@ -0,0 +1,3 @@
+README
+CHANGES
+doc
diff --git a/debian/libcmdliner-ocaml-dev.install.in 
b/debian/libcmdliner-ocaml-dev.install.in
new file mode 100644
index 0000000..73752c9
--- /dev/null
+++ b/debian/libcmdliner-ocaml-dev.install.in
@@ -0,0 +1 @@
+usr
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..d9a63d0
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,35 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+DESTDIR=$(CURDIR)/debian/tmp
+include /usr/share/ocaml/ocamlvars.mk
+OCAMLFIND_DESTDIR=$(DESTDIR)/$(OCAML_STDLIB_DIR)
+export OCAMLFIND_DESTDIR
+
+%:
+       dh $@ --with ocaml
+
+.PHONY: override_dh_auto_configure
+override_dh_auto_configure:
+       ocaml setup.ml -configure --prefix /usr --destdir '$(DESTDIR)' 
--enable-tests
+
+.PHONY: override_dh_auto_build
+override_dh_auto_build:
+       ocaml setup.ml -build
+
+.PHONY: override_dh_auto_test
+override_dh_auto_test:
+       ocaml setup.ml -test
+
+.PHONY: override_dh_auto_install
+override_dh_auto_install:
+       mkdir -p '$(OCAMLFIND_DESTDIR)'
+       ocaml setup.ml -install
+
+.PHONY: override_dh_install
+override_dh_install:
+       dh_install --fail-missing
+
+.PHONY: override_dh_auto_clean
+override_dh_auto_clean:
+       ocaml setup.ml -distclean
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..6f2c59b
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://erratique.ch/software/cmdliner .*cmdliner-(.+)\.tbz

-- 
cmdliner packaging

_______________________________________________
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to