The following commit has been merged in the master branch:
commit dbf775cc71543840ce28d04d80a819581e499f44
Author: Mehdi Dogguy <me...@debian.org>
Date:   Sun Jan 6 13:34:52 2013 +0100

    Initial packaging

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..caf446a
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+ocaml-re (1.1.0-1) unstable; urgency=low
+
+  * Initial upload (Closes: #697505).
+
+ -- Mehdi Dogguy <me...@debian.org>  Sun, 6 Jan 2013 13:13:00 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..b4929b1
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,35 @@
+Source: ocaml-re
+Section: ocaml
+Priority: optional
+Maintainer: Debian OCaml Maintainers <debian-ocaml-ma...@lists.debian.org>
+Uploaders: Mehdi Dogguy <me...@debian.org>
+Build-Depends:
+ debhelper (>= 9),
+ ocaml-nox (>= 3.12.0~),
+ ocaml-best-compilers,
+ ocaml-findlib,
+ dh-ocaml (>= 0.9~)
+Standards-Version: 3.9.4
+Homepage: https://github.com/ocaml/ocaml-re
+Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/ocaml-re.git
+Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/ocaml-re.git
+
+Package: libre-ocaml-dev
+Architecture: any
+Depends:
+ ${shlibs:Depends},
+ ${misc:Depends},
+ ${ocaml:Depends}
+Description: regular expression library for OCaml
+ RE is regular expression library for OCaml. The following styles of
+ regular expressions are supported:
+ - Perl-style regular expressions (module Re_perl);
+ - Posix extended regular expressions (module Re_posix);
+ - Emacs-style regular expressions (module Re_emacs);
+ - Shell-style file globbing (module Re_glob).
+ .
+ It is also possible to build regular expressions by combining simpler
+ regular expressions (module Re)
+ .
+ This package contains the development modules you need to use RE in
+ your programs.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..7667c7c
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,19 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: https://github.com/ocaml/ocaml-re
+
+Files: lib/re_str.ml*
+Copyright: © 1996 Copyright 1996 Institut National de Recherche en 
Informatique et en Automatique
+License: LGPL-2.1
+ See `/usr/share/common-licenses/LGPL-2.1'.
+
+Files: *
+Copyright: © 2001 Jerome Vouillon
+License: LGPL-2.1
+ See `/usr/share/common-licenses/LGPL-2.1'.
+
+Files: debian/*
+Copyright: © 2012 Mehdi Dogguy <me...@debian.org>
+License: LGPL-2.1
+ The Debian packaging is licensed under the LGPL-2.1, see
+ `/usr/share/common-licenses/LGPL-2.1'.
+
diff --git a/debian/libre-ocaml-dev.doc-base b/debian/libre-ocaml-dev.doc-base
new file mode 100644
index 0000000..d3ba8a5
--- /dev/null
+++ b/debian/libre-ocaml-dev.doc-base
@@ -0,0 +1,9 @@
+Document: libre-ocaml-dev
+Title: regular expression library for OCaml
+Author: Daniel C. Bünzli
+Abstract: Documentation of the OCaml RE library
+Section: Programming/OCaml
+
+Format: HTML
+Index: /usr/share/doc/libre-ocaml-dev/api/index.html
+Files: /usr/share/doc/libre-ocaml-dev/api/*
diff --git a/debian/libre-ocaml-dev.docs b/debian/libre-ocaml-dev.docs
new file mode 100644
index 0000000..8230d18
--- /dev/null
+++ b/debian/libre-ocaml-dev.docs
@@ -0,0 +1,2 @@
+README
+Changes
diff --git a/debian/libre-ocaml-dev.install.in 
b/debian/libre-ocaml-dev.install.in
new file mode 100644
index 0000000..73752c9
--- /dev/null
+++ b/debian/libre-ocaml-dev.install.in
@@ -0,0 +1 @@
+usr
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..752a14a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,46 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+DESTDIR=$(CURDIR)/debian/tmp
+include /usr/share/ocaml/ocamlvars.mk
+OCAMLFIND_DESTDIR=$(DESTDIR)/$(OCAML_STDLIB_DIR)
+export OCAMLFIND_DESTDIR
+
+ifeq ($(OCAML_NATDYNLINK),yes)
+  NATIVE_DYNLINK = true
+else
+  NATIVE_DYNLINK = false
+endif
+
+%:
+       dh $@ --with ocaml
+
+.PHONY: override_dh_auto_configure
+override_dh_auto_configure:
+       ocaml setup.ml -configure --prefix /usr --destdir '$(DESTDIR)' \
+               --libdir '/usr/lib/ocaml/re' \
+               --htmldir '/usr/share/doc/libre-ocaml-dev/' \
+               --enable-tests \
+               --override native_dynlink $(NATIVE_DYNLINK)
+
+.PHONY: override_dh_auto_build
+override_dh_auto_build:
+       ocaml setup.ml -build
+       ocaml setup.ml -doc
+
+.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..a48c731
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://github.com/ocaml/ocaml-re/tags/ /.*/ocaml-re-([\d\.]+)\.tar\.gz

-- 
ocaml-re 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