summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2012-03-27 21:06:21 +0000
committerAlexis Ballier <aballier@gentoo.org>2012-03-27 21:06:21 +0000
commit8f3b6777cb97157e02cdb705aa55a877cfa73c00 (patch)
tree7bee936018abaaa175c5da327f030c0abe9b6f41 /dev-ml
parentconvert to oasis.eclass (diff)
downloadgentoo-2-8f3b6777cb97157e02cdb705aa55a877cfa73c00.tar.gz
gentoo-2-8f3b6777cb97157e02cdb705aa55a877cfa73c00.tar.bz2
gentoo-2-8f3b6777cb97157e02cdb705aa55a877cfa73c00.zip
convert to oasis.eclass
(Portage version: 2.2.0_alpha95/cvs/Linux x86_64)
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/fieldslib/ChangeLog7
-rw-r--r--dev-ml/fieldslib/fieldslib-0.1.2.ebuild33
2 files changed, 12 insertions, 28 deletions
diff --git a/dev-ml/fieldslib/ChangeLog b/dev-ml/fieldslib/ChangeLog
index ebd89933f472..8fef1dfea84f 100644
--- a/dev-ml/fieldslib/ChangeLog
+++ b/dev-ml/fieldslib/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-ml/fieldslib
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/fieldslib/ChangeLog,v 1.5 2011/07/06 18:28:16 aballier Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/fieldslib/ChangeLog,v 1.6 2012/03/27 21:06:21 aballier Exp $
+
+ 27 Mar 2012; Alexis Ballier <aballier@gentoo.org> fieldslib-0.1.2.ebuild:
+ convert to oasis.eclass
06 Jul 2011; Alexis Ballier <aballier@gentoo.org> -fieldslib-0.1.1.ebuild:
remove old
diff --git a/dev-ml/fieldslib/fieldslib-0.1.2.ebuild b/dev-ml/fieldslib/fieldslib-0.1.2.ebuild
index 8ad265ffb565..61c1a5ff31ec 100644
--- a/dev-ml/fieldslib/fieldslib-0.1.2.ebuild
+++ b/dev-ml/fieldslib/fieldslib-0.1.2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/fieldslib/fieldslib-0.1.2.ebuild,v 1.1 2011/06/25 18:56:36 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/fieldslib/fieldslib-0.1.2.ebuild,v 1.2 2012/03/27 21:06:21 aballier Exp $
-EAPI="2"
-inherit findlib multilib
+EAPI="3"
+inherit oasis
DESCRIPTION="Folding over record fields"
HOMEPAGE="http://www.janestreet.com/ocaml"
@@ -12,28 +12,9 @@ SRC_URI="http://www.janestreet.com/ocaml/${P}.tar.gz"
LICENSE="LGPL-2.1-linking-exception"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="debug +ocamlopt"
+IUSE=""
-DEPEND=">=dev-lang/ocaml-3.12[ocamlopt?]
- >=dev-ml/type-conv-2.3.0"
+DEPEND=">=dev-ml/type-conv-2.3.0"
RDEPEND="${DEPEND}"
-oasis_use_enable() {
- echo "--override $2 `use $1 && echo \"true\" || echo \"false\"`"
-}
-
-src_configure() {
- ./configure --prefix usr \
- --libdir /usr/$(get_libdir) \
- --destdir "${D}" \
- $(oasis_use_enable debug debug) \
- $(oasis_use_enable ocamlopt is_native) \
- || die
-}
-
-src_install() {
- findlib_src_install
-
- # install documentation
- dodoc README || die
-}
+DOCS=( "README" )