aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan-Christofer Demay <jcdemay@gmail.com>2009-10-24 01:38:38 +0000
committerJonathan-Christofer Demay <jcdemay@gmail.com>2009-10-24 01:38:38 +0000
commit8fd6be86bf3cea8267701b064bf298bf40840365 (patch)
treed7b0be951b48bb43290463c2c971b3deb0ccf94d /dev-ml/ocamlgraph/ocamlgraph-1.2.ebuild
parentversion bump (diff)
downloadsci-8fd6be86bf3cea8267701b064bf298bf40840365.tar.gz
sci-8fd6be86bf3cea8267701b064bf298bf40840365.tar.bz2
sci-8fd6be86bf3cea8267701b064bf298bf40840365.zip
various eapi2 updates
Diffstat (limited to 'dev-ml/ocamlgraph/ocamlgraph-1.2.ebuild')
-rw-r--r--dev-ml/ocamlgraph/ocamlgraph-1.2.ebuild18
1 files changed, 7 insertions, 11 deletions
diff --git a/dev-ml/ocamlgraph/ocamlgraph-1.2.ebuild b/dev-ml/ocamlgraph/ocamlgraph-1.2.ebuild
index 3c20a8c59..97ae38e1c 100644
--- a/dev-ml/ocamlgraph/ocamlgraph-1.2.ebuild
+++ b/dev-ml/ocamlgraph/ocamlgraph-1.2.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: Exp $
-
-inherit eutils autotools
+# $Header: $
EAPI="2"
+inherit eutils autotools
+
DESCRIPTION="A graph library for Objective Caml"
HOMEPAGE="http://ocamlgraph.lri.fr/"
SRC_URI="http://ocamlgraph.lri.fr/download/${P}.tar.gz"
@@ -13,17 +13,13 @@ SRC_URI="http://ocamlgraph.lri.fr/download/${P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="doc examples gtk +ocamlopt"
-RDEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?]"
-
-DEPEND="${RDEPEND}
+DEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?]
gtk? ( >=dev-ml/lablgtk-2.6 )"
+RDEPEND="${DEPEND}"
-IUSE="doc examples gtk +ocamlopt"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
+src_prepare() {
epatch "${FILESDIR}/${P}-makefile.patch"
eautoreconf
}