summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2012-03-28 11:37:13 +0000
committerAlexis Ballier <aballier@gentoo.org>2012-03-28 11:37:13 +0000
commit8a855bb6db62974dbf58046e6d323bacc9d5cde9 (patch)
treeac7be0835000efaa687b19891d6aaadcefbf8fe8 /dev-ml/ocaml-text
parentBad bug number reference on previous commit (diff)
downloadgentoo-2-8a855bb6db62974dbf58046e6d323bacc9d5cde9.tar.gz
gentoo-2-8a855bb6db62974dbf58046e6d323bacc9d5cde9.tar.bz2
gentoo-2-8a855bb6db62974dbf58046e6d323bacc9d5cde9.zip
initial import, based on Olivier Huber work in bug #350056 and then converted to oasis.eclass
(Portage version: 2.2.0_alpha96/cvs/Linux x86_64)
Diffstat (limited to 'dev-ml/ocaml-text')
-rw-r--r--dev-ml/ocaml-text/ChangeLog11
-rw-r--r--dev-ml/ocaml-text/metadata.xml5
-rw-r--r--dev-ml/ocaml-text/ocaml-text-0.5.ebuild26
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-ml/ocaml-text/ChangeLog b/dev-ml/ocaml-text/ChangeLog
new file mode 100644
index 000000000000..6260de8e87c1
--- /dev/null
+++ b/dev-ml/ocaml-text/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-ml/ocaml-text
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocaml-text/ChangeLog,v 1.1 2012/03/28 11:37:13 aballier Exp $
+
+*ocaml-text-0.5 (28 Mar 2012)
+
+ 28 Mar 2012; Alexis Ballier <aballier@gentoo.org> +ocaml-text-0.5.ebuild,
+ +metadata.xml:
+ initial import, based on Olivier Huber work in bug #350056 and then converted
+ to oasis.eclass
+
diff --git a/dev-ml/ocaml-text/metadata.xml b/dev-ml/ocaml-text/metadata.xml
new file mode 100644
index 000000000000..2193d772e351
--- /dev/null
+++ b/dev-ml/ocaml-text/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-text/ocaml-text-0.5.ebuild b/dev-ml/ocaml-text/ocaml-text-0.5.ebuild
new file mode 100644
index 000000000000..e4b68c9728b2
--- /dev/null
+++ b/dev-ml/ocaml-text/ocaml-text-0.5.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocaml-text/ocaml-text-0.5.ebuild,v 1.1 2012/03/28 11:37:13 aballier Exp $
+
+EAPI=3
+
+OASIS_BUILD_DOCS=1
+inherit oasis
+
+DESCRIPTION="library for dealing with 'text'"
+HOMEPAGE="http://forge.ocamlcore.org/projects/ocaml-text/"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/641/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="pcre"
+
+DEPEND="virtual/libiconv
+ pcre? ( dev-ml/pcre-ocaml[ocamlopt?] )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ oasis_configure_opts="$(use_enable pcre)" \
+ oasis_src_configure
+}