Skip to content

Commit

Permalink
dev-ml/OCaml-ImageMagick: Use find_install target for installing so t…
Browse files Browse the repository at this point in the history
…hat it gets installed under proper name.

Add proper subslot.

Package-Manager: Portage-2.3.3, Repoman-2.3.1
  • Loading branch information
aballier committed Jan 4, 2017
1 parent f3016cf commit 5ccd993
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=6

inherit findlib

DESCRIPTION="Provide the ImageMagick methods to OCaml"
HOMEPAGE="http://www.linux-nantes.org/~fmonnier/OCaml/ImageMagick/"
SRC_URI="http://www.linux-nantes.org/~fmonnier/OCaml/ImageMagick/ImageMagick/${P}.tgz"

LICENSE="MIT"
SLOT="0"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE=""
# interactive tests
Expand All @@ -20,6 +22,7 @@ DEPEND="media-gfx/imagemagick:=
RDEPEND="${DEPEND}"

src_install() {
emake OCAML_DIR="${D}/$(ocamlc -where)" install
findlib_src_preinst
emake find_install
dodoc README.txt
}

0 comments on commit 5ccd993

Please sign in to comment.