From 8f3b6777cb97157e02cdb705aa55a877cfa73c00 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Tue, 27 Mar 2012 21:06:21 +0000 Subject: convert to oasis.eclass (Portage version: 2.2.0_alpha95/cvs/Linux x86_64) --- dev-ml/fieldslib/ChangeLog | 7 +++++-- dev-ml/fieldslib/fieldslib-0.1.2.ebuild | 33 +++++++-------------------------- 2 files changed, 12 insertions(+), 28 deletions(-) (limited to 'dev-ml') 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 fieldslib-0.1.2.ebuild: + convert to oasis.eclass 06 Jul 2011; Alexis Ballier -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" ) -- cgit v1.2.3-65-gdbad