summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2011-02-22 16:13:07 +0000
committerAlexis Ballier <aballier@gentoo.org>2011-02-22 16:13:07 +0000
commit16a73a6e9decf121392ca38fbdf110ac7f7161ad (patch)
tree5fb0631f6f956a765232643d0f3e2f84ff74e487 /dev-ml
parentVersion bump. Remove old. (diff)
downloadhistorical-16a73a6e9decf121392ca38fbdf110ac7f7161ad.tar.gz
historical-16a73a6e9decf121392ca38fbdf110ac7f7161ad.tar.bz2
historical-16a73a6e9decf121392ca38fbdf110ac7f7161ad.zip
Initial import, ebuild by Vladimir Ivanov <v.ivanov@ymail.com>, bug #355763, with improvements by me.
Package-Manager: portage-2.2.0_alpha24/cvs/Linux x86_64
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/ocaml-expect/ChangeLog11
-rw-r--r--dev-ml/ocaml-expect/Manifest14
-rw-r--r--dev-ml/ocaml-expect/metadata.xml9
-rw-r--r--dev-ml/ocaml-expect/ocaml-expect-0.0.2.ebuild52
4 files changed, 86 insertions, 0 deletions
diff --git a/dev-ml/ocaml-expect/ChangeLog b/dev-ml/ocaml-expect/ChangeLog
new file mode 100644
index 000000000000..b86968de6114
--- /dev/null
+++ b/dev-ml/ocaml-expect/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-ml/ocaml-expect
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocaml-expect/ChangeLog,v 1.1 2011/02/22 16:13:07 aballier Exp $
+
+*ocaml-expect-0.0.2 (22 Feb 2011)
+
+ 22 Feb 2011; Alexis Ballier <aballier@gentoo.org> +ocaml-expect-0.0.2.ebuild,
+ +metadata.xml:
+ Initial import, ebuild by Vladimir Ivanov <v.ivanov@ymail.com>, bug #355763,
+ with improvements by me.
+
diff --git a/dev-ml/ocaml-expect/Manifest b/dev-ml/ocaml-expect/Manifest
new file mode 100644
index 000000000000..fb32f821d51b
--- /dev/null
+++ b/dev-ml/ocaml-expect/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST ocaml-expect-0.0.2.tar.gz 43932 RMD160 fb6b6c41cbac7a30b6e6376b93bc31ab65bef2f0 SHA1 e61d48cdec55c8ab032ea88db371b6f77d0e5063 SHA256 178659fe466b1d43c32b183aadfd107d2a310b4e5f5f59019f3114129cd2cd7f
+EBUILD ocaml-expect-0.0.2.ebuild 1213 RMD160 f42283c1966926a716e9733ca98f2dc33d18db29 SHA1 1418a0a4fe3cbebb966b4a9c953e73ffb4159aa3 SHA256 e43a6a536e6566176995f840423e9b67f8dd525810ff259b2f83ac8ab916baac
+MISC ChangeLog 452 RMD160 9a9ddaaad2ec695973d79dcc01bcfc320097a180 SHA1 75c9a069ee1bc02e72474d6df9f3d919c9f6b19d SHA256 aecf386683feef89eda9f027014993e343baef3e00be29fa2ab95df9f300f0bd
+MISC metadata.xml 249 RMD160 eb94c89a6647e6cc5ff168b75a1d5282aefa7a73 SHA1 6bfb6cc9628948c3a1f3221210c6d59aa1ef1f2b SHA256 d4c14c36ffd9245062b47a24024d8fecee009a3795d41e55139c513fe168173e
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iEYEARECAAYFAk1j4JkACgkQvFcC4BYPU0p4mwCfXG3C23/NSLmBpK/P+SlK+qLc
+wl8AoJdZldCoBAmI15bAhgsnVHOZ1nIF
+=fuHS
+-----END PGP SIGNATURE-----
diff --git a/dev-ml/ocaml-expect/metadata.xml b/dev-ml/ocaml-expect/metadata.xml
new file mode 100644
index 000000000000..f6b3ee22be88
--- /dev/null
+++ b/dev-ml/ocaml-expect/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+<maintainer>
+ <email>v.ivanov@ymail.com</email>
+ <name>Vladimir Ivanov</name>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-ml/ocaml-expect/ocaml-expect-0.0.2.ebuild b/dev-ml/ocaml-expect/ocaml-expect-0.0.2.ebuild
new file mode 100644
index 000000000000..819fb184246c
--- /dev/null
+++ b/dev-ml/ocaml-expect/ocaml-expect-0.0.2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocaml-expect/ocaml-expect-0.0.2.ebuild,v 1.1 2011/02/22 16:13:07 aballier Exp $
+
+EAPI=3
+
+inherit findlib eutils multilib
+
+DESCRIPTION="Ocaml implementation of expect to help building unitary testing"
+HOMEPAGE="http://forge.ocamlcore.org/projects/ocaml-expect/"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/475/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="debug doc +ocamlopt"
+
+RDEPEND="
+ >=dev-lang/ocaml-3.10.2[ocamlopt?]
+ dev-ml/extlib
+ dev-ml/pcre-ocaml"
+DEPEND="${RDEPEND}
+ dev-ml/findlib
+ dev-ml/ounit"
+
+oasis_use_enable() {
+ echo "--override $2 `use $1 && echo \"true\" || echo \"false\"`"
+}
+
+src_configure() {
+ chmod +x configure
+ ./configure --prefix usr \
+ --libdir /usr/$(get_libdir) \
+ --destdir "${D}" \
+ --htmldir "/usr/share/doc/${PF}/html" \
+ $(oasis_use_enable debug debug) \
+ $(oasis_use_enable ocamlopt is_native) \
+ || die
+}
+
+src_compile() {
+ emake || die
+ if use doc; then
+ emake doc || die
+ fi
+}
+
+src_install() {
+ findlib_src_install
+
+ dodoc README.txt CHANGES.txt AUTHORS.txt || die "doc install failed"
+}