[Pkg-ocaml-maint-commits] [SCM] tyxml packaging branch, master, updated. debian/1.91-1-8-geb1ac14

Stephane Glondu steph at glondu.net
Sat Aug 13 17:28:57 UTC 2011


The following commit has been merged in the master branch:
commit 92648708e7ebdfa5c97033179f8208fb1ca60e0a
Author: Stephane Glondu <steph at glondu.net>
Date:   Sat Aug 13 16:05:07 2011 +0200

    Create new runtime binary package

diff --git a/debian/control b/debian/control
index a439d32..24f9312 100644
--- a/debian/control
+++ b/debian/control
@@ -47,6 +47,35 @@ Description: typed XML in OCaml (development files)
  .
  This package contains the development files needed to use TyXML.
 
+Package: libtyxml-ocaml
+Architecture: any
+Depends:
+ ${ocaml:Depends},
+ ${shlibs:Depends},
+ ${misc:Depends}
+Provides: ${ocaml:Provides}
+Description: typed XML in OCaml (plugins)
+ TyXML allows one to build XML trees whose validity is ensured by the
+ typechecker. It's based on a translation of XML types into polymorphic
+ variants, originally written by Thorsten Ohl. Currently, the
+ transcription has been done for XHTML 1.0 and 1.1, HTML5 and SVG
+ (partial).
+ .
+ TyXML also provides a generic printer and some low-level (and
+ untyped) iterators over XML trees. The printer has options for
+ printing XHTML in more browser-friendly way when served as
+ "text/html" (instead of "text/xml"). HTML5 is always printed with
+ those options.
+ .
+ All modules provided by TyXML are also provided in functorial
+ interface, where every module is parameterised by the underlying XML
+ representation.
+ .
+ A camlp4 extension, named Pa_tyxml, allows one to write HTML pages or
+ HTML fragments with the usual syntax.
+ .
+ This package contains dynamically loadable modules for plugins.
+
 Package: libtyxml-ocaml-doc
 Architecture: all
 Section: doc
diff --git a/debian/libtyxml-ocaml-dev.install.in b/debian/libtyxml-ocaml-dev.install.in
new file mode 100644
index 0000000..94fff00
--- /dev/null
+++ b/debian/libtyxml-ocaml-dev.install.in
@@ -0,0 +1,7 @@
+ at OCamlStdlibDir@/tyxml/*.mli
+ at OCamlStdlibDir@/tyxml/*.cmi
+ at OCamlStdlibDir@/tyxml/pa_*.cmo
+OPT: @OCamlStdlibDir@/tyxml/*.o
+OPT: @OCamlStdlibDir@/tyxml/*.cmx
+OPT: @OCamlStdlibDir@/tyxml/*.a
+OPT: @OCamlStdlibDir@/tyxml/*.cmxa
diff --git a/debian/libtyxml-ocaml.install.in b/debian/libtyxml-ocaml.install.in
new file mode 100644
index 0000000..c69bc59
--- /dev/null
+++ b/debian/libtyxml-ocaml.install.in
@@ -0,0 +1,5 @@
+ at OCamlStdlibDir@/tyxml/META
+ at OCamlStdlibDir@/tyxml/*.cma
+ at OCamlStdlibDir@/tyxml/xmllexer.cmo
+ at OCamlStdlibDir@/tyxml/simplexmlparser.cmo
+DYN: @OCamlStdlibDir@/tyxml/*.cmxs
diff --git a/debian/rules b/debian/rules
index 69ad0d9..f4d6eaf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
-DESTDIR=$(CURDIR)/debian/libtyxml-ocaml-dev
+DESTDIR=$(CURDIR)/debian/tmp
 
 include /usr/share/ocaml/ocamlvars.mk
 
@@ -36,3 +36,7 @@ override_dh_auto_install:
 ifneq ($(findstring libtyxml-ocaml-doc,$(shell dh_listpackages)),)
 	$(MAKE) $(MAKE_EXTRA_VARS) doc
 endif
+
+.PHONY: override_dh_install
+override_dh_install:
+	dh_install --fail-missing

-- 
tyxml packaging



More information about the Pkg-ocaml-maint-commits mailing list