[Pkg-ocaml-maint-commits] [SCM] ocaml-extunix packaging branch, master, updated. debian/0.0.1-1
Sylvain Le Gall
gildor at debian.org
Sat Nov 20 00:22:39 UTC 2010
The following commit has been merged in the master branch:
commit d20190673f0aa82f1ada01baf0733135ac21d208
Author: Sylvain Le Gall <gildor at debian.org>
Date: Fri Nov 19 23:53:13 2010 +0100
Initial packaging
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..44bb558
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+extunix (0.0.1-1) UNRELEASED; urgency=low
+
+ * Initial release. (Closes: #604065)
+
+ -- Sylvain Le Gall <gildor at debian.org> Fri, 19 Nov 2010 17:49:08 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..90ac252
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,60 @@
+Source: extunix
+Section: ocaml
+Priority: optional
+Maintainer: Debian OCaml Maintainers <debian-ocaml-maint at lists.debian.org>
+Uploaders:
+ Sylvain Le Gall <gildor at debian.org>
+Build-Depends:
+ ocaml-nox (>= 3.11.1-3~),
+ ocaml-findlib,
+ ocaml-base-nox,
+ libounit-ocaml-dev (>= 1.0.2),
+ dh-ocaml (>= 0.9~),
+ debhelper (>= 7.0.50~)
+Standards-Version: 3.9.1
+Homepage: http://extunix.forge.ocamlcore.org/
+Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/extunix.git
+Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/extunix.git
+
+Package: libextunix-ocaml-dev
+Architecture: any
+Depends: ${ocaml:Depends}, ${misc:Depends}
+Provides: ${ocaml:Provides}
+Recommends: ocaml-findlib
+Description: extunix
+ Thin bindings to various low-level system APIs (often non-portable)
+ which are not covered by Unix module.
+ .
+ Example functions:
+ * uname
+ * statvfs
+ * fsync
+ * fadvise
+ * fallocate
+ * atfile
+ * dirfd
+ * eventfd
+ * signalfd
+ * ...
+
+Package: libextunix-ocaml
+Architecture: any
+Depends: ${ocaml:Depends}, ${misc:Depends}, ${shlibs:Depends}
+Provides: ${ocaml:Provides}
+Description: extunix
+ Thin bindings to various low-level system APIs (often non-portable)
+ which are not covered by Unix module.
+ .
+ Example functions:
+ * uname
+ * statvfs
+ * fsync
+ * fadvise
+ * fallocate
+ * atfile
+ * dirfd
+ * eventfd
+ * signalfd
+ * ...
+ .
+ This package contains the shared runtime libraries.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..1c306ff
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
+Name: extunix
+Maintainer: Sylvain Le Gall <gildor at debian.org>
+
+Files: *
+Copyright: (C) 2010 ygrek
+ (C) 2009 Sylvain Le Gall
+ (C) 2008-2009 Talend Inc.
+ (C) 2010 Stéphane Glondu
+License: LGPL-2.1 with OCaml linking exception
+
+ See '/usr/share/common-licenses/LGPL-2.1'.
+
+ 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 upstream author, or a modified version of the Library that is
+ distributed under the conditions defined in clause 3 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.
+
+Files: debian/*
+Copyright: (C) 2010 Sylvain Le Gall <gildor at debian.org>
+License: GPL-3+
diff --git a/debian/libextunix-ocaml-dev.doc-base.1 b/debian/libextunix-ocaml-dev.doc-base.1
new file mode 100644
index 0000000..1c07b26
--- /dev/null
+++ b/debian/libextunix-ocaml-dev.doc-base.1
@@ -0,0 +1,8 @@
+Document: extunix-api
+Title: API reference for extunix
+Author: ygrek, Sylvain Le Gall, Stephane Glondu
+Section: Programming/OCaml
+
+Format: HTML
+Index: /usr/share/doc/libextunix-ocaml-dev/index.html
+Files: /usr/share/doc/libextunix-ocaml-dev/*
diff --git a/debian/libextunix-ocaml-dev.install.in b/debian/libextunix-ocaml-dev.install.in
new file mode 100644
index 0000000..66dd124
--- /dev/null
+++ b/debian/libextunix-ocaml-dev.install.in
@@ -0,0 +1,5 @@
+ at OCamlStdlibDir@/extunix/*.cm[ix]
+ at OCamlStdlibDir@/extunix/*.ml*
+OPT: @OCamlStdlibDir@/extunix/*.cmxa
+ at OCamlStdlibDir@/extunix/*.a
+usr/share/doc/libextunix-ocaml-dev
diff --git a/debian/libextunix-ocaml.install.in b/debian/libextunix-ocaml.install.in
new file mode 100644
index 0000000..584d943
--- /dev/null
+++ b/debian/libextunix-ocaml.install.in
@@ -0,0 +1,3 @@
+ at OCamlStdlibDir@/extunix/*.so @OCamlDllDir@
+ at OCamlStdlibDir@/extunix/META
+ at OCamlStdlibDir@/extunix/*.cm[ao]
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..fd8c318
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,44 @@
+#!/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
+
+OCAMLFIND_DESTDIR=$(DESTDIR)/$(OCAML_STDLIB_DIR)
+export OCAMLFIND_DESTDIR
+OCAMLFIND_LDCONF=ignore
+export OCAMLFIND_LDCONF
+
+%:
+ dh --with ocaml $@
+
+.PHONY: override_dh_auto_configure
+override_dh_auto_configure:
+ ocaml setup.ml -configure --prefix /usr --destdir '$(DESTDIR)' --docdir '/usr/share/doc/libextunix-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 '$(DESTDIR)/usr/bin'
+ 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)
--
ocaml-extunix packaging
More information about the Pkg-ocaml-maint-commits
mailing list