From 5ccd993f781d4d7b439caf3503b0f9e257139b02 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Wed, 4 Jan 2017 12:35:58 +0100 Subject: 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 --- .../OCaml-ImageMagick-0.34-r1.ebuild | 28 ++++++++++++++++++++++ .../OCaml-ImageMagick-0.34.ebuild | 25 ------------------- 2 files changed, 28 insertions(+), 25 deletions(-) create mode 100644 dev-ml/OCaml-ImageMagick/OCaml-ImageMagick-0.34-r1.ebuild delete mode 100644 dev-ml/OCaml-ImageMagick/OCaml-ImageMagick-0.34.ebuild (limited to 'dev-ml/OCaml-ImageMagick') diff --git a/dev-ml/OCaml-ImageMagick/OCaml-ImageMagick-0.34-r1.ebuild b/dev-ml/OCaml-ImageMagick/OCaml-ImageMagick-0.34-r1.ebuild new file mode 100644 index 000000000000..59805bde5f5b --- /dev/null +++ b/dev-ml/OCaml-ImageMagick/OCaml-ImageMagick-0.34-r1.ebuild @@ -0,0 +1,28 @@ +# 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/${PV}" +KEYWORDS="~amd64" +IUSE="" +# interactive tests +RESTRICT="test" + +DEPEND="media-gfx/imagemagick:= + dev-lang/ocaml:=[ocamlopt]" +RDEPEND="${DEPEND}" + +src_install() { + findlib_src_preinst + emake find_install + dodoc README.txt +} diff --git a/dev-ml/OCaml-ImageMagick/OCaml-ImageMagick-0.34.ebuild b/dev-ml/OCaml-ImageMagick/OCaml-ImageMagick-0.34.ebuild deleted file mode 100644 index e93cb0eb40fa..000000000000 --- a/dev-ml/OCaml-ImageMagick/OCaml-ImageMagick-0.34.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 - -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" -KEYWORDS="~amd64" -IUSE="" -# interactive tests -RESTRICT="test" - -DEPEND="media-gfx/imagemagick:= - dev-lang/ocaml:=[ocamlopt]" -RDEPEND="${DEPEND}" - -src_install() { - emake OCAML_DIR="${D}/$(ocamlc -where)" install - dodoc README.txt -} -- cgit v1.2.3-65-gdbad