Depends:
${shlibs:Depends},
${misc:Depends},
+ ${ocaml:Depends},
libncurses5-dev,
- ocaml-base-nox (= ${binary:Version}),
ocaml-interp (= ${binary:Version}),
gcc,
binutils
-Suggests: ocaml-doc, libgdbm-dev, tuareg-mode | ocaml-mode
-Recommends:
- camlp4,
- file
Provides:
- ocaml-nox-${F:OCamlABI},
+ ${ocaml:Provides},
${F:BestProvides},
libnums-ocaml-dev
+Suggests:
+ ocaml-doc,
+ libgdbm-dev,
+ tuareg-mode | ocaml-mode
+Recommends:
+ camlp4,
+ file
Replaces:
ocaml-interp (<< 3.11.1-2),
camlp4 (<< 3.10.0),
Depends:
${shlibs:Depends},
${misc:Depends},
- ocaml-nox (=${binary:Version})
+ ${ocaml:Depends}
Provides:
- camlp4-${F:OCamlABI}
+ ${ocaml:Provides}
Description: Pre Processor Pretty Printer for OCaml
Objective Caml (OCaml) is an implementation of the ML language,
based on the Caml Light dialect extended with a complete
Depends:
${shlibs:Depends},
${misc:Depends},
- ocaml-nox (= ${binary:Version}),
- camlp4 (= ${binary:Version})
+ ${ocaml:Depends},
+ camlp4-${F:OCamlABI}
Description: Pre Processor Pretty Printer for OCaml - extras
Objective Caml (OCaml) is an implementation of the ML language,
based on the Caml Light dialect extended with a complete
Depends:
${shlibs:Depends},
${misc:Depends},
- ocaml-base (= ${binary:Version}),
- ocaml-nox (=${binary:Version}),
+ ${ocaml:Depends}
libx11-dev
+Provides:
+ ${ocaml:Provides}
Suggests:
tcl8.4-dev,
tk8.4-dev
-Provides: ocaml-${F:OCamlABI}
Replaces: ocaml-nox (<< 3.11.0-2)
Description: ML language implementation with a class-based object system
Objective Caml (OCaml) is an implementation of the ML language, based on
Package: ocaml-base-nox
Architecture: any
-Provides: ocaml-base-nox-${F:OCamlABI}, libnums-ocaml
Depends:
${shlibs:Depends},
- ${misc:Depends}
+ ${misc:Depends},
+ ${ocaml:Depends}
+Provides:
+ ${ocaml:Provides}
Replaces:
ocaml-interp (<< 3.11.1-2),
ocaml-base (<< 3.07.2a-3),
Depends:
${shlibs:Depends},
${misc:Depends},
- ocaml-base-nox (= ${binary:Version})
-Provides: ocaml-base-${F:OCamlABI}
+ ${ocaml:Depends}
+Provides:
+ ${ocaml:Provides}
Description: Runtime system for OCaml bytecode executables
Objective Caml (OCaml) is an implementation of the ML language, based on
the Caml Light dialect extended with a complete class-based object system
Package: ocaml-interp
Architecture: any
-Provides: ocaml-interp-${F:OCamlABI}
Depends:
- ocaml-base-nox (= ${binary:Version}),
+ ${ocaml:Depends},
${shlibs:Depends},
${misc:Depends}
+Provides:
+ ocaml-interp-${F:OCamlABI}
Recommends: ledit | readline-editor
+Replaces: ocaml (<< 3.07.2a-3)
+Conflicts: ocaml (<< 3.07.2a-3)
Description: OCaml interactive interpreter and standard libraries
Objective Caml (OCaml) is an implementation of the ML language, based on
the Caml Light dialect extended with a complete class-based object system
Package: ocaml-compiler-libs
Architecture: any
-Provides: ocaml-compiler-libs-${F:OCamlABI}
Depends:
- ocaml-nox (= ${binary:Version}),
+ ${ocaml:Depends},
${shlibs:Depends},
- ${misc:Depends}
+ ${misc:Depends},
+ ocaml-nox-${F:OCamlABI}
+Provides:
+ ocaml-compiler-libs-${F:OCamlABI}
Description: OCaml interpreter and standard libraries
Objective (OCaml) is an implementation of the ML language, based on
the Caml Light dialect extended with a complete class-based object system
Source: ocaml
-Section: devel
+Section: ocaml
Priority: optional
Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
Uploaders:
Depends:
${shlibs:Depends},
${misc:Depends},
+ ${ocaml:Depends},
libncurses5-dev,
- ocaml-base-nox (= ${binary:Version}),
ocaml-interp (= ${binary:Version}),
gcc,
binutils
-Suggests: ocaml-doc, libgdbm-dev, tuareg-mode | ocaml-mode
-Recommends:
- camlp4,
- file
Provides:
- ocaml-nox-${F:OCamlABI},
+ ${ocaml:Provides},
${F:BestProvides},
libnums-ocaml-dev
+Suggests:
+ ocaml-doc,
+ libgdbm-dev,
+ tuareg-mode | ocaml-mode
+Recommends:
+ camlp4,
+ file
Replaces:
ocaml-interp (<< 3.11.1-2),
camlp4 (<< 3.10.0),
Depends:
${shlibs:Depends},
${misc:Depends},
- ocaml-nox (=${binary:Version})
+ ${ocaml:Depends}
Provides:
- camlp4-${F:OCamlABI}
+ ${ocaml:Provides}
Description: Pre Processor Pretty Printer for OCaml
Objective Caml (OCaml) is an implementation of the ML language,
based on the Caml Light dialect extended with a complete
Depends:
${shlibs:Depends},
${misc:Depends},
- ocaml-nox (= ${binary:Version}),
- camlp4 (= ${binary:Version})
+ ${ocaml:Depends},
+ camlp4-${F:OCamlABI}
Description: Pre Processor Pretty Printer for OCaml - extras
Objective Caml (OCaml) is an implementation of the ML language,
based on the Caml Light dialect extended with a complete
Depends:
${shlibs:Depends},
${misc:Depends},
- ocaml-base (= ${binary:Version}),
- ocaml-nox (=${binary:Version}),
+ ${ocaml:Depends}
libx11-dev
+Provides:
+ ${ocaml:Provides}
Suggests:
tcl8.4-dev,
tk8.4-dev
-Provides: ocaml-${F:OCamlABI}
Replaces: ocaml-nox (<< 3.11.0-2)
Description: ML language implementation with a class-based object system
Objective Caml (OCaml) is an implementation of the ML language, based on
Package: ocaml-base-nox
Architecture: any
-Provides: ocaml-base-nox-${F:OCamlABI}, libnums-ocaml
Depends:
${shlibs:Depends},
- ${misc:Depends}
+ ${misc:Depends},
+ ${ocaml:Depends}
+Provides:
+ ${ocaml:Provides}
Replaces:
ocaml-interp (<< 3.11.1-2),
ocaml-base (<< 3.07.2a-3),
Depends:
${shlibs:Depends},
${misc:Depends},
- ocaml-base-nox (= ${binary:Version})
-Provides: ocaml-base-${F:OCamlABI}
+ ${ocaml:Depends}
+Provides:
+ ${ocaml:Provides}
Description: Runtime system for OCaml bytecode executables
Objective Caml (OCaml) is an implementation of the ML language, based on
the Caml Light dialect extended with a complete class-based object system
Package: ocaml-interp
Architecture: any
-Provides: ocaml-interp-${F:OCamlABI}
Depends:
- ocaml-base-nox (= ${binary:Version}),
+ ${ocaml:Depends},
${shlibs:Depends},
${misc:Depends}
+Provides:
+ ocaml-interp-${F:OCamlABI}
Recommends: ledit | readline-editor
Replaces: ocaml (<< 3.07.2a-3)
Conflicts: ocaml (<< 3.07.2a-3)
Package: ocaml-compiler-libs
Architecture: any
-Provides: ocaml-compiler-libs-${F:OCamlABI}
Depends:
- ocaml-nox (= ${binary:Version}),
+ ${ocaml:Depends},
${shlibs:Depends},
- ${misc:Depends}
+ ${misc:Depends},
+ ocaml-nox-${F:OCamlABI}
+Provides:
+ ocaml-compiler-libs-${F:OCamlABI}
Description: OCaml interpreter and standard libraries
Objective (OCaml) is an implementation of the ML language, based on
the Caml Light dialect extended with a complete class-based object system
DISTDIR = $(PACKAGE)-$(OCAML_ABI)
SRCTARBALL = $(PACKAGE)-source-$(OCAML_ABI).tar.bz2
+# Environment variable for dh_ocaml
+OCAMLBYTEINFO = debian/ocamlbyteinfo/ocamlbyteinfo
+OCAMLPLUGININFO = debian/ocamlbyteinfo/ocamlplugininfo
+OCAMLDUMPAPPROX = tools/dumpapprox
+OCAMLOBJINFO = tools/objinfo
+export OCAMLBYTEINFO
+export OCAMLPLUGININFO
+export OCAMLDUMPAPPROX
+export OCAMLOBJINFO
+
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
else
@echo "===> WARNING: $(BUILDCACHE) detected, compilation skipped! <==="
rsync -a --exclude=debian --exclude=.git $(BUILDCACHE)/ .
+ rsync -a $(BUILDCACHE)/debian/ocamlbyteinfo/ debian/ocamlbyteinfo/
rm -f build-stamp install-stamp
endif
dh build --after dh_auto_test
else
echo 'F:BestProvides=' >> debian/ocaml-nox.substvars
endif
+ # Create .md5sums files and compute dependencies. Use
+ # $(OCAML_ABI) because we know that OCaml ABI represents
+ # best dependencies for OCaml package.
+ dh_ocaml \
+ --runtime-map ocaml-nox:ocaml-base-nox,ocaml:ocaml-base,camlp4 \
+ --checksum $(OCAML_ABI)
dh_gencontrol
dh binary --after dh_gencontrol
touch $@