summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2012-07-05 01:56:16 +0000
committerAlexis Ballier <aballier@gentoo.org>2012-07-05 01:56:16 +0000
commit62afc87208bc6492f5ffa526ede8f12349f4c479 (patch)
tree068d3b2f23b1ae806b4d87362ce1cba0b720a39f /dev-ml/ocaml-gettext
parentVersion bump. (diff)
downloadgentoo-2-62afc87208bc6492f5ffa526ede8f12349f4c479.tar.gz
gentoo-2-62afc87208bc6492f5ffa526ede8f12349f4c479.tar.bz2
gentoo-2-62afc87208bc6492f5ffa526ede8f12349f4c479.zip
initial import, ebuild by me, bug #408561
(Portage version: 2.2.0_alpha115/cvs/Linux x86_64)
Diffstat (limited to 'dev-ml/ocaml-gettext')
-rw-r--r--dev-ml/ocaml-gettext/ChangeLog10
-rw-r--r--dev-ml/ocaml-gettext/metadata.xml5
-rw-r--r--dev-ml/ocaml-gettext/ocaml-gettext-0.3.4.ebuild47
3 files changed, 62 insertions, 0 deletions
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 <aballier@gentoo.org>
+ +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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>
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
+}