[Pkg-ocaml-maint-commits] [lwt] 08/11: Update packaging
Stéphane Glondu
glondu at moszumanska.debian.org
Wed Jul 26 12:42:38 UTC 2017
This is an automated email from the git hooks/post-receive script.
glondu pushed a commit to branch master
in repository lwt.
commit 6383ad189f9c951f05e2c1f51890eaa5d6b45265
Author: Stephane Glondu <steph at glondu.net>
Date: Wed Jul 26 08:04:56 2017 +0200
Update packaging
---
debian/control | 2 ++
debian/copyright | 2 +-
debian/rules | 5 ++++-
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/debian/control b/debian/control
index f2f85d8..c48495b 100644
--- a/debian/control
+++ b/debian/control
@@ -8,11 +8,13 @@ Build-Depends:
libev-dev,
ocaml-findlib (>= 1.4),
ocamlbuild,
+ cppo,
libfindlib-ocaml-dev,
libssl-ocaml-dev (>= 0.5),
liblablgtk2-ocaml-dev (>= 2.12.0-4~),
libreact-ocaml-dev (>= 0.9.1-1~),
libtext-ocaml-dev (>= 0.4),
+ libresult-ocaml-dev,
libppx-tools-ocaml-dev,
camlp4,
ocaml-compiler-libs,
diff --git a/debian/copyright b/debian/copyright
index b207907..66f7795 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -38,7 +38,7 @@ License: LGPL-2.1-exception
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
-Files: examples/*
+Files: doc/examples/*
Copyright: 2009, Jérémie Dimino <jeremie at dimino.org>
License: BSD-C3
All rights reserved.
diff --git a/debian/rules b/debian/rules
index b56e747..f3b7212 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,10 +22,12 @@ export CAML_LD_LIBRARY_PATH=$(CURDIR)/_build/src/unix
.PHONY: override_dh_auto_configure
override_dh_auto_configure:
- ocaml setup.ml -configure --prefix /usr --destdir '$(DESTDIR)' --enable-all --docdir /usr/share/doc/liblwt-ocaml-dev
+ ocaml setup.ml -configure --prefix '$(DESTDIR)/usr' --destdir '$(DESTDIR)' --enable-all --enable-tests --docdir '$(DESTDIR)/usr/share/doc/liblwt-ocaml-dev'
.PHONY: override_dh_auto_build
override_dh_auto_build:
+# Disable mcast tests; they use network
+ sed -i '/mcast/d' tests/unix/main.ml
ocaml setup.ml -build
ocaml setup.ml -doc
@@ -37,6 +39,7 @@ override_dh_auto_test:
override_dh_auto_install:
mkdir -p '$(OCAMLFIND_DESTDIR)'
ocaml setup.ml -install
+ cp _build/src/unix/lwt_unix.mli debian/tmp/usr/lib/ocaml/lwt/
.PHONY: override_dh_install
override_dh_install:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/lwt.git
More information about the Pkg-ocaml-maint-commits
mailing list