summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-08-15 12:46:40 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-08-15 12:46:40 +0000
commitccb5d28514bda9c3a0833ecf3220538416c9b8b1 (patch)
treeda5c901e9a74bf09841268f6765d5331d601436f /app-misc/geneweb
parentSet /var/lib/milter as home directory for milter user (#280571). Stable on x86. (diff)
downloadhistorical-ccb5d28514bda9c3a0833ecf3220538416c9b8b1.tar.gz
historical-ccb5d28514bda9c3a0833ecf3220538416c9b8b1.tar.bz2
historical-ccb5d28514bda9c3a0833ecf3220538416c9b8b1.zip
USE deps instead of built_with_use
Package-Manager: portage-2.2_rc38/cvs/Linux x86_64
Diffstat (limited to 'app-misc/geneweb')
-rw-r--r--app-misc/geneweb/geneweb-5.01-r1.ebuild27
1 files changed, 7 insertions, 20 deletions
diff --git a/app-misc/geneweb/geneweb-5.01-r1.ebuild b/app-misc/geneweb/geneweb-5.01-r1.ebuild
index feb5d995ae22..5d75fe9cce0a 100644
--- a/app-misc/geneweb/geneweb-5.01-r1.ebuild
+++ b/app-misc/geneweb/geneweb-5.01-r1.ebuild
@@ -1,11 +1,10 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/geneweb/geneweb-5.01-r1.ebuild,v 1.5 2008/12/01 09:06:55 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/geneweb/geneweb-5.01-r1.ebuild,v 1.6 2009/08/15 12:46:40 ssuominen Exp $
+EAPI=2
inherit eutils
-EAPI="1"
-
DESCRIPTION="Genealogy software program with a Web interface."
HOMEPAGE="http://cristal.inria.fr/~ddr/GeneWeb/"
SRC_URI="ftp://ftp.inria.fr/INRIA/Projects/cristal/${PN}/Src/${P}.tgz"
@@ -15,23 +14,12 @@ SLOT="0"
KEYWORDS="amd64 x86"
IUSE="+ocamlopt"
-DEPEND="dev-lang/ocaml
- dev-ml/camlp5
+RDEPEND="dev-lang/ocaml[ocamlopt?]
+ dev-ml/camlp5"
+DEPEND="${RDEPEND}
!net-p2p/ghostwhitecrab"
-pkg_setup() {
- if use ocamlopt && ! built_with_use --missing true dev-lang/ocaml ocamlopt
- then
- eerror "In order to build ${PN} with native code support from ocaml"
- eerror "You first need to have a native code ocaml compiler."
- eerror "You need to install dev-lang/ocaml with ocamlopt useflag on."
- die "Please install ocaml with ocamlopt useflag"
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch "${FILESDIR}"/${P}-gentoo.patch
sed -i -e "s:@GENTOO_DATADIR@:/usr/share/${PN}:" \
setup/setup.ml || die "Failed sed for gentoo path"
@@ -39,7 +27,6 @@ src_unpack() {
}
src_compile() {
- econf
if use ocamlopt; then
emake || die "Compiling native code executables failed"
else