From 62afc87208bc6492f5ffa526ede8f12349f4c479 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Thu, 5 Jul 2012 01:56:16 +0000 Subject: initial import, ebuild by me, bug #408561 (Portage version: 2.2.0_alpha115/cvs/Linux x86_64) --- dev-ml/ocaml-gettext/ChangeLog | 10 ++++++ dev-ml/ocaml-gettext/metadata.xml | 5 +++ dev-ml/ocaml-gettext/ocaml-gettext-0.3.4.ebuild | 47 +++++++++++++++++++++++++ 3 files changed, 62 insertions(+) create mode 100644 dev-ml/ocaml-gettext/ChangeLog create mode 100644 dev-ml/ocaml-gettext/metadata.xml create mode 100644 dev-ml/ocaml-gettext/ocaml-gettext-0.3.4.ebuild (limited to 'dev-ml/ocaml-gettext') diff --git a/dev-ml/ocaml-gettext/ChangeLog b/dev-ml/ocaml-gettext/ChangeLog new file mode 100644 index 000000000000..d48854320e8e --- /dev/null +++ b/dev-ml/ocaml-gettext/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-ml/ocaml-gettext +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocaml-gettext/ChangeLog,v 1.1 2012/07/05 01:56:16 aballier Exp $ + +*ocaml-gettext-0.3.4 (05 Jul 2012) + + 05 Jul 2012; Alexis Ballier + +ocaml-gettext-0.3.4.ebuild, +metadata.xml: + initial import, ebuild by me, bug #408561 + diff --git a/dev-ml/ocaml-gettext/metadata.xml b/dev-ml/ocaml-gettext/metadata.xml new file mode 100644 index 000000000000..2193d772e351 --- /dev/null +++ b/dev-ml/ocaml-gettext/metadata.xml @@ -0,0 +1,5 @@ + + + +ml + diff --git a/dev-ml/ocaml-gettext/ocaml-gettext-0.3.4.ebuild b/dev-ml/ocaml-gettext/ocaml-gettext-0.3.4.ebuild new file mode 100644 index 000000000000..ad1ecacc4227 --- /dev/null +++ b/dev-ml/ocaml-gettext/ocaml-gettext-0.3.4.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocaml-gettext/ocaml-gettext-0.3.4.ebuild,v 1.1 2012/07/05 01:56:16 aballier Exp $ + +EAPI=4 + +inherit findlib + +DESCRIPTION="Provides support for internationalization of OCaml program" +HOMEPAGE="http://forge.ocamlcore.org/projects/ocaml-gettext" +SRC_URI="http://forge.ocamlcore.org/frs/download.php/676/${P}.tar.gz" + +LICENSE="LGPL-2.1-linking-exception" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc test" + +RDEPEND=">=dev-lang/ocaml-3.12.1 + >=dev-ml/ocaml-fileutils-0.4.0 + >=dev-ml/camomile-0.8.3 + sys-devel/gettext + " +DEPEND="${RDEPEND} + doc? ( app-text/docbook-xsl-stylesheets dev-libs/libxslt ) + test? ( dev-ml/ounit )" + +src_configure() { + econf \ + --with-docbook-stylesheet="${EPREFIX}/usr/share/sgml/docbook/xsl-stylesheets/" \ + $(use_enable doc) \ + $(use_enable test) +} + +src_compile() { + emake -j1 +} + +src_install() { + findlib_src_preinst + emake -j1 DESTDIR="${D}" \ + BINDIR="${ED}/usr/bin" \ + PODIR="${ED}/usr/share/locale/" \ + DOCDIR="${ED}/usr/share/doc/${PF}" \ + MANDIR="${ED}/usr/share/man" \ + install + dodoc CHANGELOG README THANKS TODO +} -- cgit v1.2.3-65-gdbad