This is an automated email from the git hooks/post-receive script. infinity0 pushed a commit to branch master in repository ocamlbuild.
commit 994143f8452e17a362332537e0e436659fea290c Author: Ximin Luo <infini...@debian.org> Date: Thu Sep 29 00:27:31 2016 +0200 Initial Debian packaging --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 33 +++++++++++++++++++++++++++++++++ debian/copyright | 31 +++++++++++++++++++++++++++++++ debian/docs | 1 + debian/examples | 1 + debian/gbp.conf | 3 +++ debian/links | 1 + debian/manpages | 1 + debian/rules | 34 ++++++++++++++++++++++++++++++++++ debian/source/format | 1 + debian/watch | 4 ++++ 12 files changed, 116 insertions(+) diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..e07e99f --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +ocamlbuild (0.9.2-1) UNRELEASED; urgency=medium + + * Initial release (Closes: #839099) + + -- Ximin Luo <infini...@debian.org> Wed, 28 Sep 2016 23:40:41 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..d37156e --- /dev/null +++ b/debian/control @@ -0,0 +1,33 @@ +Source: ocamlbuild +Section: ocaml +Priority: optional +Maintainer: Debian OCaml Maintainers <debian-ocaml-ma...@lists.debian.org> +Uploaders: Ximin Luo <infini...@debian.org> +Build-Depends: debhelper (>= 9), ocaml, ocaml-native-compilers +Standards-Version: 3.9.8 +Homepage: https://github.com/ocaml/ocamlbuild/ +Vcs-Git: https://anonscm.debian.org/git/pkg-ocaml-maint/packages/ocamlbuild.git +Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ocaml-maint/packages/ocamlbuild.git + +Package: ocamlbuild +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, + ocaml-base-nox | ocaml-base | ocaml-nox | ocaml +# FIXME: ask if the below is really the best solution +Replaces: libfindlib-ocaml (<< 1.6.2-1) +Description: Build tool for building OCaml library and programs + OCamlbuild is a generic build tool, that has built-in rules for building OCaml + library and programs. + . + It was distributed as part of the OCaml distribution for OCaml versions + between 3.10.0 and 4.02.3. Starting from OCaml 4.03, it is now released + separately. + . + Its job is to determine the sequence of calls to the compiler — with the + right set of command-line flags — needed to build your OCaml-centric + software project. + . + It was designed as a generic build system (it is in fact not OCaml-specific), + but also to be expressive enough to cover the specifics of the OCaml language + that make writing good Makefiles difficult, such as the dreaded units Foo and + Bar make inconsistent assumptions about Baz error. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..2872d4b --- /dev/null +++ b/debian/copyright @@ -0,0 +1,31 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: ocamlbuild +Source: https://github.com/ocaml/ocamlbuild + +Files: * +Copyright: 2007-2016 Nicolas Pouillard, Berke Durak, projet Gallium, INRIA Rocquencourt + 2007-2016 Institut National de Recherche en Informatique et en Automatique +License: GPL-2 with OCamlbuild exception + +Files: debian/* +Copyright: 2016 Ximin Luo <infini...@debian.org> +License: GPL-2 with OCamlbuild exception + +License: GPL-2 with OCamlbuild exception + OCamlbuild is distributed under the terms of the GNU Library General + Public License version 2. On Debian systems, the complete text of this + license can be found in "/usr/share/common-licenses/GPL-2". + . + As a special exception to the GNU Library General Public License, you + may link, statically or dynamically, a "work that uses OCamlbuild" + with a publicly distributed version of OCamlbuild to produce an + executable file containing portions of OCamlbuild, 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 OCamlbuild", + we mean either the unmodified Library as distributed by INRIA, or a + modified version of OCamlbuild that is distributed under the + conditions defined in clause 2 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. diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..ad1245d --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +Readme.md diff --git a/debian/examples b/debian/examples new file mode 100644 index 0000000..e39721e --- /dev/null +++ b/debian/examples @@ -0,0 +1 @@ +examples/* diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..5474c60 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,3 @@ +[DEFAULT] +pristine-tar = True +sign-tags = True diff --git a/debian/links b/debian/links new file mode 100644 index 0000000..5d72a41 --- /dev/null +++ b/debian/links @@ -0,0 +1 @@ +usr/share/man/man1/ocamlbuild.1.gz usr/share/man/man1/ocamlbuild.opt.1.gz diff --git a/debian/manpages b/debian/manpages new file mode 100644 index 0000000..79632dc --- /dev/null +++ b/debian/manpages @@ -0,0 +1 @@ +man/ocamlbuild.1 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..95940f9 --- /dev/null +++ b/debian/rules @@ -0,0 +1,34 @@ +#!/usr/bin/make -f +# See debhelper(7) (uncomment to enable) +# output every command that modifies files on the build system. +#export DH_VERBOSE = 1 + + +# see FEATURE AREAS in dpkg-buildflags(1) +#export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +# see ENVIRONMENT in dpkg-buildflags(1) +# package maintainers to append CFLAGS +#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic +# package maintainers to append LDFLAGS +#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed + + +%: + dh $@ + + +override_dh_auto_configure: + $(MAKE) OCAMLBUILD_PREFIX=/usr \ + OCAMLBUILD_BINDIR=/usr/bin \ + OCAMLBUILD_LIBDIR=/usr/lib/ocaml/ \ + configure + +override_dh_auto_install: + dh_auto_install -- CHECK_IF_PREINSTALLED=false + cd debian/ocamlbuild/usr/bin && mv ocamlbuild.byte ocamlbuild + cd debian/ocamlbuild/usr/bin && test ! -f ocamlbuild.native || mv ocamlbuild.native ocamlbuild.opt + +override_dh_auto_clean: + dh_auto_clean + find . -name '*.cmti' -delete 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) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..1d352bd --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=4 +opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%ocamlbuild-$1.tar.gz%" \ + https://github.com/ocaml/ocamlbuild/tags \ + (?:.*?/)?v?([0123][\d.]*)\.tar\.gz -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/ocamlbuild.git _______________________________________________ Pkg-ocaml-maint-commits mailing list Pkg-ocaml-maint-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits