1 |
commit: c2bfc996adb8a7df1b0ba4eb5b33e8979b943c4d |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 21 15:16:00 2017 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 21 16:33:55 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2bfc996 |
7 |
|
8 |
dev-ml/ocaml-magic-mime: bump to 1.1.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
dev-ml/ocaml-magic-mime/Manifest | 1 + |
13 |
.../ocaml-magic-mime/ocaml-magic-mime-1.1.0.ebuild | 26 ++++++++++++++++++++++ |
14 |
2 files changed, 27 insertions(+) |
15 |
|
16 |
diff --git a/dev-ml/ocaml-magic-mime/Manifest b/dev-ml/ocaml-magic-mime/Manifest |
17 |
index 3723d580cee..2f7f8c30ad2 100644 |
18 |
--- a/dev-ml/ocaml-magic-mime/Manifest |
19 |
+++ b/dev-ml/ocaml-magic-mime/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST ocaml-magic-mime-1.0.0.tar.gz 53937 SHA256 a9ae72476e7b8dbd70462a10b289cb29ea8a2b1b0e6e31c8faa9e5447a51e159 SHA512 e6a050e0adc465d174083b101b66805e3261b0498cd20d19bd4d2da52859d6c792f8e13e1c787d54f81e1ff65048f4fb3c38367f1a60c8e5c94367f5f685dc8e WHIRLPOOL be87b1b7d0f5426360f4c565933ab7eae572a71f045dbaeff6c2ee8fb7a02e8e0a3e6c3a9843cdedde02d9c78e5f2b973b9bb5768fbc267a4852277984a9e440 |
22 |
+DIST ocaml-magic-mime-1.1.0.tar.gz 13228 SHA256 76b01222006ac77c9f95053af3ef1c3d9fc7c340fd5637bcc5659bda772f0ddf SHA512 41daa6d85a1398498f03dc54d6e5c5057c79c9c7e4063fb67e73c1b497e69a0c67796640c837fcf3715e8bea7590288f1cf84e41c7ab46d910c6d8d32156efe5 WHIRLPOOL 52011c018f869cde3436cccf98e9d5fd8f96f6ea4a2d686f2d75b08afae3491f5216818e567e0296c5e253dd506165a11892edbb3d2f18b8bc73be6d7260e829 |
23 |
|
24 |
diff --git a/dev-ml/ocaml-magic-mime/ocaml-magic-mime-1.1.0.ebuild b/dev-ml/ocaml-magic-mime/ocaml-magic-mime-1.1.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..17c16d0e2fa |
27 |
--- /dev/null |
28 |
+++ b/dev-ml/ocaml-magic-mime/ocaml-magic-mime-1.1.0.ebuild |
29 |
@@ -0,0 +1,26 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+DESCRIPTION="Convert file extensions to MIME types" |
36 |
+HOMEPAGE="https://github.com/mirage/ocaml-magic-mime" |
37 |
+SRC_URI="https://github.com/mirage/ocaml-magic-mime/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
38 |
+LICENSE="ISC" |
39 |
+SLOT="0/${PV}" |
40 |
+KEYWORDS="~amd64" |
41 |
+IUSE="" |
42 |
+ |
43 |
+RDEPEND="dev-lang/ocaml:=" |
44 |
+DEPEND="${RDEPEND} |
45 |
+ dev-ml/jbuilder |
46 |
+ dev-ml/opam |
47 |
+" |
48 |
+ |
49 |
+src_install() { |
50 |
+ opam-installer -i \ |
51 |
+ --prefix="${ED}/usr" \ |
52 |
+ --libdir="${D}/$(ocamlc -where)" \ |
53 |
+ --docdir="${ED}/usr/share/doc/${PF}" \ |
54 |
+ magic-mime.install || die |
55 |
+} |