[Pkg-ocaml-maint-commits] r2243 - trunk/packages/cduce/trunk/debian
Thomas Petazzoni
tpetazzo-guest at costa.debian.org
Sun Dec 4 21:54:24 UTC 2005
Author: tpetazzo-guest
Date: 2005-12-04 21:54:23 +0000 (Sun, 04 Dec 2005)
New Revision: 2243
Added:
trunk/packages/cduce/trunk/debian/cduce.dirs.in
trunk/packages/cduce/trunk/debian/control.in
Removed:
trunk/packages/cduce/trunk/debian/cduce.dirs
trunk/packages/cduce/trunk/debian/control
Modified:
trunk/packages/cduce/trunk/debian/rules
Log:
Convert to 3.09.
Deleted: trunk/packages/cduce/trunk/debian/cduce.dirs
===================================================================
--- trunk/packages/cduce/trunk/debian/cduce.dirs 2005-12-04 21:49:41 UTC (rev 2242)
+++ trunk/packages/cduce/trunk/debian/cduce.dirs 2005-12-04 21:54:23 UTC (rev 2243)
@@ -1,2 +0,0 @@
-usr/lib/ocaml/3.08.3
-usr/bin
Copied: trunk/packages/cduce/trunk/debian/cduce.dirs.in (from rev 1864, trunk/packages/cduce/trunk/debian/cduce.dirs)
===================================================================
--- trunk/packages/cduce/trunk/debian/cduce.dirs 2005-10-30 23:17:21 UTC (rev 1864)
+++ trunk/packages/cduce/trunk/debian/cduce.dirs.in 2005-12-04 21:54:23 UTC (rev 2243)
@@ -0,0 +1,2 @@
+usr/lib/ocaml/#OcamlABI#
+usr/bin
Deleted: trunk/packages/cduce/trunk/debian/control
===================================================================
--- trunk/packages/cduce/trunk/debian/control 2005-12-04 21:49:41 UTC (rev 2242)
+++ trunk/packages/cduce/trunk/debian/control 2005-12-04 21:54:23 UTC (rev 2243)
@@ -1,39 +0,0 @@
-Source: cduce
-Section: interpreters
-Priority: optional
-Maintainer: Thomas Petazzoni <thomas.petazzoni at enix.org>
-Uploaders: Stefano Zacchiroli <zack at debian.org>
-Build-Depends: debhelper (>= 4.0.0), ocaml-nox-3.08.3, ocaml-source (>= 3.08.3), libpcre-ocaml-dev (>= 5.10.0), libocamlnet-ocaml-dev (>= 1.1-4), libexpat-ocaml-dev, libcurl-ocaml-dev (>= 0.2.1-3), ocaml-ulex, dpatch, chrpath, bzip2
-Standards-Version: 3.6.2
-
-Package: cduce
-Architecture: any
-Depends: ocaml-nox-3.08.3, ocaml-ulex, libocamlnet-ocaml-dev (>= 1.1-4), libexpat-ocaml-dev, libcurl-ocaml-dev (>= 0.2.1-3), ${shlibs:Depends}
-Description: programming language adapted to the manipulation of XML data
- CDuce is a modern programming language adapted to the manipulation of
- XML documents.
- .
- Some of CDuce peculiar features:
- - XML objects can be manipulated as first-class citizen values:
- elements, sequences, tags, characters and strings, attribute sets;
- sequences of XML elements can be specified by regular expressions,
- which also apply to characters strings;
- - functions themselves are first-class values, they can be
- manipulated, stored in data structure, returned by a function,...;
- - a powerful pattern matching operation can perform complex
- extractions from sequences of XML elements;
- - a rich type algebra, with recursive types and arbitrary boolean
- combinations (union, intersection, complement) allows precise
- definitions of data structures and XML types; general purpose
- types and types constructors are taken seriously (products,
- extensible records, arbitrary precision integers with interval
- constraints, Unicode characters);
- - polymorphism through a natural notion of subtyping, and overloaded
- functions with dynamic dispatch; - an highly-effective type-driven
- compilation schema
- .
- CDuce is fast, functional, type-safe, and conforms to basic
- standards: Unicode, XML, DTD, Namespaces are fully supported, partial
- support of XML Schema validation is in alpha testing (and
- undocumented) while queries are being implemented.
-
Copied: trunk/packages/cduce/trunk/debian/control.in (from rev 1874, trunk/packages/cduce/trunk/debian/control)
===================================================================
--- trunk/packages/cduce/trunk/debian/control 2005-10-31 20:48:36 UTC (rev 1874)
+++ trunk/packages/cduce/trunk/debian/control.in 2005-12-04 21:54:23 UTC (rev 2243)
@@ -0,0 +1,39 @@
+Source: cduce
+Section: interpreters
+Priority: optional
+Maintainer: Thomas Petazzoni <thomas.petazzoni at enix.org>
+Uploaders: Stefano Zacchiroli <zack at debian.org>
+Build-Depends: debhelper (>= 4.0.0), ocaml-nox (>= #OcamlABI#), ocaml-source (>= #OcamlABI#), libpcre-ocaml-dev (>= 5.10.0), libocamlnet-ocaml-dev (>= 1.1-4), libexpat-ocaml-dev, libcurl-ocaml-dev (>= 0.2.1-3), ocaml-ulex, dpatch, chrpath, bzip2
+Standards-Version: 3.6.2
+
+Package: cduce
+Architecture: any
+Depends: ocaml-nox-${F:OCamlABI}, ocaml-ulex, libocamlnet-ocaml-dev (>= 1.1-4), libexpat-ocaml-dev, libcurl-ocaml-dev (>= 0.2.1-3), ${shlibs:Depends}
+Description: programming language adapted to the manipulation of XML data
+ CDuce is a modern programming language adapted to the manipulation of
+ XML documents.
+ .
+ Some of CDuce peculiar features:
+ - XML objects can be manipulated as first-class citizen values:
+ elements, sequences, tags, characters and strings, attribute sets;
+ sequences of XML elements can be specified by regular expressions,
+ which also apply to characters strings;
+ - functions themselves are first-class values, they can be
+ manipulated, stored in data structure, returned by a function,...;
+ - a powerful pattern matching operation can perform complex
+ extractions from sequences of XML elements;
+ - a rich type algebra, with recursive types and arbitrary boolean
+ combinations (union, intersection, complement) allows precise
+ definitions of data structures and XML types; general purpose
+ types and types constructors are taken seriously (products,
+ extensible records, arbitrary precision integers with interval
+ constraints, Unicode characters);
+ - polymorphism through a natural notion of subtyping, and overloaded
+ functions with dynamic dispatch; - an highly-effective type-driven
+ compilation schema
+ .
+ CDuce is fast, functional, type-safe, and conforms to basic
+ standards: Unicode, XML, DTD, Namespaces are fully supported, partial
+ support of XML Schema validation is in alpha testing (and
+ undocumented) while queries are being implemented.
+
Modified: trunk/packages/cduce/trunk/debian/rules
===================================================================
--- trunk/packages/cduce/trunk/debian/rules 2005-12-04 21:49:41 UTC (rev 2242)
+++ trunk/packages/cduce/trunk/debian/rules 2005-12-04 21:54:23 UTC (rev 2243)
@@ -1,10 +1,9 @@
#!/usr/bin/make -f
+PACKAGE = cduce
+OCAMLABI := $(shell ocamlc -version)
#export DH_VERBOSE=1
-# This has to be exported to make some magic below work.
-export DH_OPTIONS
-
MAKE_OPTS := $(shell if [ -x /usr/bin/ocamlopt ]; then echo "NATIVE=true"; else echo "NATIVE=false"; fi)
OCAMLLIBDIR=`ocamlc -where`
@@ -17,11 +16,17 @@
include /usr/share/dpatch/dpatch.make
PACKAGE = cduce
+debian/control:
+ sed -e 's%#OcamlABI#%$(OCAMLABI)%' $@.in >$@
+
configure-stamp: configure
+ for t in `find debian/ -name \*.in | grep -v debian/control.in`; do \
+ sed -e 's%#OcamlABI#%$(OCAMLABI)%' $$t >$${t%.in}; \
+ done
dh_testdir
- cd debian && tar xjf /usr/src/ocaml-source-3.08.3.tar.bz2 && cd ..
+ cd debian && tar xjf /usr/src/ocaml-source-$(OCAMLABI).tar.bz2 && cd ..
./configure --prefix=/usr \
- --mliface=debian/ocaml-3.08.3 \
+ --mliface=debian/ocaml-$(OCAMLABI) \
--with-curl \
--without-netclient \
--with-expat \
@@ -43,7 +48,7 @@
-$(MAKE) $(MAKE_OPTS) clean
-$(RM) Makefile.conf
-$(RM) -f configure-stamp
- -$(RM) -rf debian/ocaml-3.08.3/
+ -$(RM) -rf debian/ocaml-$(OCAMLABI)/
dh_clean
install:
@@ -78,7 +83,7 @@
dh_makeshlibs
dh_installdeb
dh_shlibdeps
- dh_gencontrol
+ dh_gencontrol -s -- -VF:OCamlABI="$(OCAMLABI)"
dh_md5sums
dh_builddeb
More information about the Pkg-ocaml-maint-commits
mailing list