diff options
author | Dmitrijs Ledkovs <dmitrijs.ledkovs@canonical.com> | 2013-08-23 11:57:27 +0100 |
---|---|---|
committer | Dmitrijs Ledkovs <dmitrijs.ledkovs@canonical.com> | 2013-08-23 14:47:36 +0100 |
commit | 50ce773901d391857267a628351e6ffc8b31ba38 (patch) | |
tree | 8d042e0863b0e979d341f88b63d248b065ee07ab | |
parent | c433e6145ba23f05f6753b3070c8ef23f796ad1c (diff) |
Initial release (Closes: #720547)HEADdebian/20130822-1master
-rw-r--r-- | .pc/.quilt_patches | 1 | ||||
-rw-r--r-- | .pc/.quilt_series | 1 | ||||
-rw-r--r-- | .pc/.version | 1 | ||||
-rw-r--r-- | .pc/applied-patches | 0 | ||||
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/clean | 1 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 48 | ||||
-rw-r--r-- | debian/copyright | 48 | ||||
-rw-r--r-- | debian/docs | 1 | ||||
-rw-r--r-- | debian/libestring-ocaml-dev.install.in | 6 | ||||
-rw-r--r-- | debian/libestring-ocaml.install.in | 2 | ||||
-rw-r--r-- | debian/libsqlexpr-ocaml-dev.ocamldoc | 3 | ||||
-rwxr-xr-x | debian/rules | 40 | ||||
-rw-r--r-- | debian/source/format | 1 |
15 files changed, 159 insertions, 0 deletions
diff --git a/.pc/.quilt_patches b/.pc/.quilt_patches new file mode 100644 index 0000000..6857a8d --- /dev/null +++ b/.pc/.quilt_patches @@ -0,0 +1 @@ +debian/patches diff --git a/.pc/.quilt_series b/.pc/.quilt_series new file mode 100644 index 0000000..c206706 --- /dev/null +++ b/.pc/.quilt_series @@ -0,0 +1 @@ +series diff --git a/.pc/.version b/.pc/.version new file mode 100644 index 0000000..0cfbf08 --- /dev/null +++ b/.pc/.version @@ -0,0 +1 @@ +2 diff --git a/.pc/applied-patches b/.pc/applied-patches new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.pc/applied-patches diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..35646ee --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +ocaml-estring (20130822-1) unstable; urgency=low + + * Initial release (Closes: #720547) + + -- Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com> Thu, 22 Aug 2013 23:30:07 +0100 diff --git a/debian/clean b/debian/clean new file mode 100644 index 0000000..98c0c0d --- /dev/null +++ b/debian/clean @@ -0,0 +1 @@ +setup-dev.exe 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..235a7fb --- /dev/null +++ b/debian/control @@ -0,0 +1,48 @@ +Source: ocaml-estring +Section: ocaml +Priority: optional +Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org> +Uploaders: + Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com> +Build-Depends: + debhelper (>= 9), + dh-ocaml, + libfindlib-ocaml-dev, + liboasis-ocaml-dev, + ocaml-findlib, + ocaml-nox +Standards-Version: 3.9.4 +Homepage: https://forge.ocamlcore.org/projects/estring/ + +Package: libestring-ocaml +Architecture: any +Depends: + ${misc:Depends}, + ${ocaml:Depends}, + ${shlibs:Depends} +Provides: + ${ocaml:Provides} +Description: Estring: OCaml development platform (runtime) + estring, which stands for `extended strings' is a syntax extension + allowing to prefix string literals with a specifier to change their + meaning. + . + This package used to be part of the batteries project. + . + This package contains the shared runtime libraries. + +Package: libestring-ocaml-dev +Architecture: any +Depends: + ocaml-findlib, + ${misc:Depends}, + ${ocaml:Depends}, + ${shlibs:Depends} +Provides: + ${ocaml:Provides} +Description: Estring: OCaml development platform (development) + estring, which stands for `extended strings' is a syntax extension + allowing to prefix string literals with a specifier to change their + meaning. + . + This package used to be part of the batteries project. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..45755f2 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,48 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: ocaml-estring +Source: https://github.com/diml/estring + +Files: * +Copyright: 2008 Jeremie Dimino <jeremie@dimino.org> +License: + All rights reserved. + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + . + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * 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. + * Neither the name of Jeremie Dimino nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS AND 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 Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com> +License: Apache + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + . + On Debian systems, the complete text of the Apache 2.0 can be found + in "/usr/share/common-licenses/Apache-2.0". diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..b43bf86 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +README.md diff --git a/debian/libestring-ocaml-dev.install.in b/debian/libestring-ocaml-dev.install.in new file mode 100644 index 0000000..6ba33b1 --- /dev/null +++ b/debian/libestring-ocaml-dev.install.in @@ -0,0 +1,6 @@ +usr/share/doc +@OCamlStdlibDir@/*/*.cmi +@OCamlStdlibDir@/*/*.ml* +OPT: @OCamlStdlibDir@/*/*.cmx* +OPT: @OCamlStdlibDir@/*/*.a + diff --git a/debian/libestring-ocaml.install.in b/debian/libestring-ocaml.install.in new file mode 100644 index 0000000..8481f73 --- /dev/null +++ b/debian/libestring-ocaml.install.in @@ -0,0 +1,2 @@ +@OCamlStdlibDir@/*/META +@OCamlStdlibDir@/*/*.cm[ao] diff --git a/debian/libsqlexpr-ocaml-dev.ocamldoc b/debian/libsqlexpr-ocaml-dev.ocamldoc new file mode 100644 index 0000000..2715ae9 --- /dev/null +++ b/debian/libsqlexpr-ocaml-dev.ocamldoc @@ -0,0 +1,3 @@ +-d estring +--doc-base-generate + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..d449cd8 --- /dev/null +++ b/debian/rules @@ -0,0 +1,40 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +DESTDIR=$(CURDIR)/debian/tmp + +include /usr/share/ocaml/ocamlvars.mk + +export OCAMLFIND_DESTDIR=$(DESTDIR)/$(OCAML_STDLIB_DIR) + +%: + dh $@ --with ocaml + +.PHONY: override_dh_auto_configure +override_dh_auto_configure: + ocaml setup.ml -configure --prefix /usr --destdir '$(DESTDIR)' --docdir /usr/share/doc/libestring-ocaml-dev + +.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) |