summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-01-04 12:35:58 +0100
committerAlexis Ballier <aballier@gentoo.org>2017-01-04 12:58:30 +0100
commit5ccd993f781d4d7b439caf3503b0f9e257139b02 (patch)
treeb50814fc6d5cea65a595de001ecb1a146b4270de /dev-ml
parentdev-ml/ocaml-safepass: bump to 2.0 (diff)
downloadgentoo-5ccd993f781d4d7b439caf3503b0f9e257139b02.tar.gz
gentoo-5ccd993f781d4d7b439caf3503b0f9e257139b02.tar.bz2
gentoo-5ccd993f781d4d7b439caf3503b0f9e257139b02.zip
dev-ml/OCaml-ImageMagick: Use find_install target for installing so that it gets installed under proper name.
Add proper subslot. Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/OCaml-ImageMagick/OCaml-ImageMagick-0.34-r1.ebuild (renamed from dev-ml/OCaml-ImageMagick/OCaml-ImageMagick-0.34.ebuild)9
1 files changed, 6 insertions, 3 deletions
diff --git a/dev-ml/OCaml-ImageMagick/OCaml-ImageMagick-0.34.ebuild b/dev-ml/OCaml-ImageMagick/OCaml-ImageMagick-0.34-r1.ebuild
index e93cb0eb40fa..59805bde5f5b 100644
--- a/dev-ml/OCaml-ImageMagick/OCaml-ImageMagick-0.34.ebuild
+++ b/dev-ml/OCaml-ImageMagick/OCaml-ImageMagick-0.34-r1.ebuild
@@ -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
@@ -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
}