summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2012-03-27 21:33:31 +0000
committerAlexis Ballier <aballier@gentoo.org>2012-03-27 21:33:31 +0000
commitc98143c30d7ce83a289b87416269210a12959432 (patch)
tree702cdb668918c7c96c5777892eebe399e89d816c /dev-ml
parentconvert to oasis.eclass (diff)
downloadhistorical-c98143c30d7ce83a289b87416269210a12959432.tar.gz
historical-c98143c30d7ce83a289b87416269210a12959432.tar.bz2
historical-c98143c30d7ce83a289b87416269210a12959432.zip
convert to oasis.eclass and force type-conv-3
Package-Manager: portage-2.2.0_alpha95/cvs/Linux x86_64
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/ocaml-data-notation/ChangeLog8
-rw-r--r--dev-ml/ocaml-data-notation/ocaml-data-notation-0.0.6.ebuild36
2 files changed, 13 insertions, 31 deletions
diff --git a/dev-ml/ocaml-data-notation/ChangeLog b/dev-ml/ocaml-data-notation/ChangeLog
index 6df5319d44cb..7db1680479e0 100644
--- a/dev-ml/ocaml-data-notation/ChangeLog
+++ b/dev-ml/ocaml-data-notation/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-ml/ocaml-data-notation
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocaml-data-notation/ChangeLog,v 1.5 2011/10/06 20:23:26 aballier Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocaml-data-notation/ChangeLog,v 1.6 2012/03/27 21:33:31 aballier Exp $
+
+ 27 Mar 2012; Alexis Ballier <aballier@gentoo.org>
+ ocaml-data-notation-0.0.6.ebuild:
+ convert to oasis.eclass and force type-conv-3
06 Oct 2011; Alexis Ballier <aballier@gentoo.org> +files/typeconv3.patch,
ocaml-data-notation-0.0.6.ebuild:
diff --git a/dev-ml/ocaml-data-notation/ocaml-data-notation-0.0.6.ebuild b/dev-ml/ocaml-data-notation/ocaml-data-notation-0.0.6.ebuild
index 530ef532e50a..29ad61ed6c79 100644
--- a/dev-ml/ocaml-data-notation/ocaml-data-notation-0.0.6.ebuild
+++ b/dev-ml/ocaml-data-notation/ocaml-data-notation-0.0.6.ebuild
@@ -1,10 +1,10 @@
-# 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/ocaml-data-notation/ocaml-data-notation-0.0.6.ebuild,v 1.2 2011/10/06 20:23:26 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocaml-data-notation/ocaml-data-notation-0.0.6.ebuild,v 1.3 2012/03/27 21:33:31 aballier Exp $
EAPI=3
-inherit findlib multilib eutils
+inherit oasis
DESCRIPTION="This project uses type-conv to dump OCaml data structure using OCaml data notation"
HOMEPAGE="https://forge.ocamlcore.org/projects/odn"
@@ -13,34 +13,12 @@ SRC_URI="https://forge.ocamlcore.org/frs/download.php/638/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="debug +ocamlopt"
+IUSE=""
-RDEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?]
- >=dev-ml/type-conv-2.3.0"
+RDEPEND=">=dev-ml/type-conv-3.0.0"
DEPEND="${RDEPEND}
dev-ml/ounit[ocamlopt?]
dev-ml/ocaml-fileutils[ocamlopt?]"
-src_prepare() {
- has_version '>=dev-ml/type-conv-3' && epatch "${FILESDIR}/typeconv3.patch"
-}
-
-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}" \
- $(oasis_use_enable debug debug) \
- $(oasis_use_enable ocamlopt is_native) \
- || die
-}
-
-src_install() {
- findlib_src_install
-
- dodoc README.txt || die "doc install failed"
-}
+PATCHES=( "${FILESDIR}/typeconv3.patch" )
+DOCS=( "README.txt" )