Skip to content

Commit

Permalink
dev-scheme/schoca: rm invalid dep,eapi bump
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.3.0
  • Loading branch information
Amynka committed Jan 14, 2017
1 parent 60b2199 commit a6b4622
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI="3"
EAPI="6"

inherit eutils

Expand All @@ -17,7 +17,7 @@ IUSE="+ocamlopt"

DEPEND="dev-ml/findlib
dev-lang/ocaml[ocamlopt?]
|| ( dev-ml/camlp4[ocamlopt?] <dev-lang/ocaml-4.02.0 )"
dev-ml/camlp4[ocamlopt?]"
RDEPEND="${DEPEND}"

RESTRICT="installsources"
Expand All @@ -37,11 +37,11 @@ src_configure() {

src_compile() {
#parallel fails
emake -j1 || die "emake failed"
emake -j1
}

src_install() {
use ocamlopt || export STRIP_MASK="*bin/schoca"
dodir "$(ocamlfind printconf destdir)" || die "dodir failed"
emake PREFIX="/usr" DESTDIR="${D}" DESTDIRFLAG="-destdir ${D}$(ocamlfind printconf destdir)" install || die "emake install failed"
dodir "$(ocamlfind printconf destdir)"
emake PREFIX="/usr" DESTDIR="${D}" DESTDIRFLAG="-destdir ${D}$(ocamlfind printconf destdir)" install
}

0 comments on commit a6b4622

Please sign in to comment.