summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2012-03-27 21:05:01 +0000
committerAlexis Ballier <aballier@gentoo.org>2012-03-27 21:05:01 +0000
commit47cbe16bbb98b4f822d296c756d2a1ddc5e03195 (patch)
treefd54637a9cc223d6a7b852763fc737309db9cd66 /dev-ml/type-conv
parentconvert to oasis.eclass (diff)
downloadgentoo-2-47cbe16bbb98b4f822d296c756d2a1ddc5e03195.tar.gz
gentoo-2-47cbe16bbb98b4f822d296c756d2a1ddc5e03195.tar.bz2
gentoo-2-47cbe16bbb98b4f822d296c756d2a1ddc5e03195.zip
convert to oasis.eclass
(Portage version: 2.2.0_alpha95/cvs/Linux x86_64)
Diffstat (limited to 'dev-ml/type-conv')
-rw-r--r--dev-ml/type-conv/ChangeLog5
-rw-r--r--dev-ml/type-conv/type-conv-3.0.4.ebuild36
2 files changed, 11 insertions, 30 deletions
diff --git a/dev-ml/type-conv/ChangeLog b/dev-ml/type-conv/ChangeLog
index 36fc2cb151a0..87647a61e1bf 100644
--- a/dev-ml/type-conv/ChangeLog
+++ b/dev-ml/type-conv/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-ml/type-conv
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/type-conv/ChangeLog,v 1.14 2012/02/23 20:39:42 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/type-conv/ChangeLog,v 1.15 2012/03/27 21:05:01 aballier Exp $
+
+ 27 Mar 2012; Alexis Ballier <aballier@gentoo.org> type-conv-3.0.4.ebuild:
+ convert to oasis.eclass
23 Feb 2012; Alexis Ballier <aballier@gentoo.org> -type-conv-2.3.0.ebuild:
remove old
diff --git a/dev-ml/type-conv/type-conv-3.0.4.ebuild b/dev-ml/type-conv/type-conv-3.0.4.ebuild
index 9186fde41a3d..2132899acad8 100644
--- a/dev-ml/type-conv/type-conv-3.0.4.ebuild
+++ b/dev-ml/type-conv/type-conv-3.0.4.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/type-conv/type-conv-3.0.4.ebuild,v 1.1 2011/10/06 20:00:53 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/type-conv/type-conv-3.0.4.ebuild,v 1.2 2012/03/27 21:05:01 aballier Exp $
-EAPI="2"
+EAPI="3"
-inherit findlib eutils multilib
+inherit oasis
DESCRIPTION="Mini library required for some other preprocessing libraries"
HOMEPAGE="http://forge.ocamlcore.org/projects/type-conv/"
@@ -13,31 +13,9 @@ SRC_URI="http://forge.ocamlcore.org/frs/download.php/697/${P}.tar.gz"
LICENSE="LGPL-2.1-linking-exception"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="debug doc +ocamlopt"
-
-RDEPEND=">=dev-lang/ocaml-3.12[ocamlopt?]"
+IUSE=""
+RDEPEND=""
DEPEND="${RDEPEND}"
-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_test() {
- LD_LIBRARY_PATH="${S}/_build/lib" emake test || die
-}
-
-src_install() {
- findlib_src_install
-
- dodoc README.txt Changelog || die
-}
+DOCS=( "README.txt" "Changelog" )