Source: ocaml
Section: ocaml
Priority: optional
Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
Uploaders:
 Ralf Treinen <treinen@debian.org>,
 Stéphane Glondu <glondu@debian.org>,
 Mehdi Dogguy <mehdi@debian.org>,
 Ximin Luo <infinity0@debian.org>
Build-Depends:
 debhelper-compat (= 13),
 pkgconf,
 binutils-dev,
 libiberty-dev,
 libncurses-dev,
 zlib1g-dev,
 dh-ocaml
Build-Conflicts: ocaml-base
Standards-Version: 4.7.2
Rules-Requires-Root: no
Vcs-Git: https://salsa.debian.org/ocaml-team/ocaml.git
Vcs-Browser: https://salsa.debian.org/ocaml-team/ocaml
Homepage: https://ocaml.org/

# This needs to stay at the top - we symlink docs to the copy in this package,
# and dh_installdocs installs README.Debian etc into the first package listed.
Package: ocaml-base
Architecture: any
Depends:
 libstdlib-ocaml (= ${binary:Version}),
 ${shlibs:Depends},
 ${misc:Depends},
 ${ocaml:Depends}
Provides:
 ocaml-base-${F:OCamlABI}
Breaks: ocaml-base-nox (<< 4.13)
Replaces: ocaml-base-nox (<< 4.13)
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
 and a powerful module system in the style of Standard ML.
 .
 This package contains only the runtime system needed to run bytecode
 executables. The 'ocaml' package contains the full development suite of
 Objective Caml.

Package: ocaml
Architecture: any
Depends:
 ocaml-interp (= ${binary:Version}),
 libncurses-dev,
 gcc,
 binutils,
 libzstd-dev,
 ${shlibs:Depends},
 ${misc:Depends},
 ${ocaml:Depends}
Provides:
 ocaml-${F:OCamlABI},
 ocaml-best-compilers (= ${binary:Version}),
 ${F:NativeProvides}
Suggests:
 ocaml-doc,
 elpa-tuareg
Recommends:
 ocaml-man,
 file
Breaks: ocaml-nox (<< 4.13)
Replaces: ocaml-nox (<< 4.13)
Description: ML language implementation with a class-based object system
 Objective Caml (OCaml) is an implementation of the ML language, based on
 the Caml Light dialect extended with a complete class-based object system
 and a powerful module system in the style of Standard ML.
 .
 OCaml comprises two compilers. One generates bytecode
 which is then interpreted by a C program. This compiler runs quickly,
 generates compact code with moderate memory requirements, and is
 portable to essentially any 32 or 64 bit Unix platform. Performance of
 generated programs is quite good for a bytecoded implementation:
 almost twice as fast as Caml Light 0.7. This compiler can be used
 either as a standalone, batch-oriented compiler that produces
 standalone programs, or as an interactive, toplevel-based system.
 .
 The other compiler generates high-performance native code for a number
 of processors. Compilation takes longer and generates bigger code, but
 the generated programs deliver excellent performance, while retaining
 the moderate memory requirements of the bytecode compiler. It is not
 available on all arches though.
 .
 This package contains everything needed to develop OCaml applications.

Package: libstdlib-ocaml-dev
Architecture: any
Depends:
 ${shlibs:Depends},
 ${misc:Depends},
 ${ocaml:Depends}
Provides:
 libseq-ocaml-dev,
 libuchar-ocaml-dev,
 libstdlib-shims-ocaml-dev,
 ${ocaml:Provides}
Recommends:
 ocaml-man
Breaks:
 libfindlib-ocaml (<< 1.9.6-3~),
 ocaml (<< 4.13.1-5~),
 ocaml-base (<< 4.13.1-5~),
 ocaml-compiler-libs (<< 4.13.1-5~)
Replaces:
 libfindlib-ocaml (<< 1.9.6-3~),
 ocaml (<< 4.13.1-5~),
 ocaml-base (<< 4.13.1-5~),
 ocaml-compiler-libs (<< 4.13.1-5~)
Description: OCaml standard library (development files)
 OCaml is an implementation of the ML language, based on the Caml
 Light dialect extended with a complete class-based object system and
 a powerful module system in the style of Standard ML.
 .
 This package contains the development files of the standard library.

Package: libstdlib-ocaml
Architecture: any
Depends:
 ${shlibs:Depends},
 ${misc:Depends},
 ${ocaml:Depends}
Provides:
 libseq-ocaml,
 libuchar-ocaml,
 libstdlib-shims-ocaml,
 ${ocaml:Provides}
Breaks:
 libfindlib-ocaml (<< 1.9.6-3~),
 ocaml (<< 4.13.1-5~),
 ocaml-base (<< 4.13.1-5~),
 ocaml-compiler-libs (<< 4.13.1-5~),
 dh-ocaml (<< 2)
Replaces:
 libfindlib-ocaml (<< 1.9.6-3~),
 ocaml (<< 4.13.1-5~),
 ocaml-base (<< 4.13.1-5~),
 ocaml-compiler-libs (<< 4.13.1-5~)
Description: OCaml standard library (runtime files)
 OCaml is an implementation of the ML language, based on the Caml
 Light dialect extended with a complete class-based object system and
 a powerful module system in the style of Standard ML.
 .
 This package contains the runtime files of the standard library.

Package: libcompiler-libs-ocaml-dev
Architecture: any
Depends:
 ${shlibs:Depends},
 ${misc:Depends},
 ${ocaml:Depends}
Provides:
 ${ocaml:Provides}
Breaks:
 libfindlib-ocaml (<< 1.9.6-3~),
 ocaml (<< 4.13.1-5~),
 ocaml-base (<< 4.13.1-5~),
 ocaml-compiler-libs (<< 4.13.1-5~)
Replaces:
 libfindlib-ocaml (<< 1.9.6-3~),
 ocaml (<< 4.13.1-5~),
 ocaml-base (<< 4.13.1-5~),
 ocaml-compiler-libs (<< 4.13.1-5~)
Description: OCaml compiler library (development files)
 OCaml is an implementation of the ML language, based on the Caml
 Light dialect extended with a complete class-based object system and
 a powerful module system in the style of Standard ML.
 .
 This package contains the development files of the compiler library.

Package: ocaml-source
Architecture: all
Depends: ${misc:Depends}
Provides: ocaml-source-${F:OCamlABI}
Description: Sources for Objective Caml
 Objective Caml (OCaml) is an implementation of the ML language, based on
 the Caml Light dialect extended with a complete class-based object system
 and a powerful module system in the style of Standard ML.
 .
 This package contains the sources needed to build some packages which build
 depend on the OCaml source. Notice that if you want to rebuild OCaml, these
 will not work, consider using the source package instead.

Package: ocaml-interp
Architecture: any
Depends:
 ocaml-base (= ${binary:Version}),
 libcompiler-libs-ocaml-dev (= ${binary:Version}),
 ${ocaml:Depends},
 ${misc:Depends}
Provides:
 ocaml-interp-${F:OCamlABI}
Recommends: ledit | readline-editor
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
 and a powerful module system in the style of Standard ML.
 .
 This package contains the files required to run an OCaml shell from the
 command line.

Package: ocaml-man
Architecture: all
Depends:
 ${misc:Depends}
Breaks:
 ocaml (<< 4.08),
 ocaml-nox (<< 4.08),
 ocaml-compiler-libs (<< 4.08)
Replaces:
 ocaml (<< 4.08),
 ocaml-nox (<< 4.08),
 ocaml-compiler-libs (<< 4.08)
Description: OCaml interpreter and standard libraries (lib manpages)
 Objective (OCaml) is an implementation of the ML language, based on
 the Caml Light dialect extended with a complete class-based object system
 and a powerful module system in the style of Standard ML.
 .
 This package contains ocamldoc-generated documentation about libraries
 provided by OCaml.

Package: ocaml-base-nox
Section: oldlibs
Architecture: all
Depends:
 ocaml-base,
 ${misc:Depends}
Replaces: ocaml-base (<< 4.08), ocaml-nox (<< 4.08)
Breaks: ocaml-base (<< 4.08), ocaml-nox (<< 4.08)
Description: transitional package for ocaml-base
 Objective Caml (OCaml) is an implementation of the ML language, based on
 the Caml Light dialect extended with a complete class-based object system
 and a powerful module system in the style of Standard ML.
 .
 This is a transitional package and can be safely removed.

Package: ocaml-nox
Section: oldlibs
Architecture: all
Depends:
 ocaml,
 ${misc:Depends}
Replaces: ocaml-base-nox (<< 4.08), ocaml-compiler-libs (<< 4.08)
Breaks: ocaml-base-nox (<< 4.08), ocaml-compiler-libs (<< 4.08)
Description: transitional package for ocaml
 Objective Caml (OCaml) is an implementation of the ML language, based on
 the Caml Light dialect extended with a complete class-based object system
 and a powerful module system in the style of Standard ML.
 .
 This is a transitional package and can be safely removed.

Package: ocaml-compiler-libs
Section: oldlibs
Architecture: all
Depends:
 libcompiler-libs-ocaml-dev,
 ${misc:Depends}
Replaces: ocaml-base-nox (<< 4)
Breaks: ocaml-base-nox (<< 4)
Description: transitional package for libcompiler-libs-ocaml-dev
 Objective (OCaml) is an implementation of the ML language, based on
 the Caml Light dialect extended with a complete class-based object system
 and a powerful module system in the style of Standard ML.
 .
 This is a transitional package and can be safely removed.
