summaryrefslogtreecommitdiff
path: root/dev-ml/ocaml-magic-mime
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-ml/ocaml-magic-mime
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ml/ocaml-magic-mime')
-rw-r--r--dev-ml/ocaml-magic-mime/Manifest5
-rw-r--r--dev-ml/ocaml-magic-mime/metadata.xml11
-rw-r--r--dev-ml/ocaml-magic-mime/ocaml-magic-mime-1.0.0.ebuild17
-rw-r--r--dev-ml/ocaml-magic-mime/ocaml-magic-mime-1.1.0.ebuild26
4 files changed, 59 insertions, 0 deletions
diff --git a/dev-ml/ocaml-magic-mime/Manifest b/dev-ml/ocaml-magic-mime/Manifest
new file mode 100644
index 000000000000..2ed24fa8b362
--- /dev/null
+++ b/dev-ml/ocaml-magic-mime/Manifest
@@ -0,0 +1,5 @@
+DIST ocaml-magic-mime-1.0.0.tar.gz 53937 BLAKE2B 202968b4038f66e61b458b84d6505b1c143b8994ff32cd6c2e11d7feec31a4e99af26fddb84b72d19ce1a37cc01d6dd0bcf6e9648b6434f0a1509120fabda251 SHA512 e6a050e0adc465d174083b101b66805e3261b0498cd20d19bd4d2da52859d6c792f8e13e1c787d54f81e1ff65048f4fb3c38367f1a60c8e5c94367f5f685dc8e
+DIST ocaml-magic-mime-1.1.0.tar.gz 13228 BLAKE2B 105f9fdd71a752bc5e0f660af40dc4f212a721964091e8719b55499f3ab046c6b40894b8a21defdca4cfc14ac2cbed874c189d96cb83633ad95fab7fd7e2d793 SHA512 41daa6d85a1398498f03dc54d6e5c5057c79c9c7e4063fb67e73c1b497e69a0c67796640c837fcf3715e8bea7590288f1cf84e41c7ab46d910c6d8d32156efe5
+EBUILD ocaml-magic-mime-1.0.0.ebuild 413 BLAKE2B 2be617ad44dc2e64013ea4312ac3c5d72741fe1efc41e00e37617e076b235768f55af9597145702464b97afd8a72ced4aeff44dc5a1b2658f92d59fb6302357e SHA512 a7f2c1522bf4ebdbb409d4a49f52f81785484a3e6bd62190aa1b2dfea433164ab76ab9825d030bb89e4b32565c552f7fb8bc7d70d999fb686265e33d6901ff73
+EBUILD ocaml-magic-mime-1.1.0.ebuild 617 BLAKE2B f1514f2fb4c123941dba40f7b7c512c4eeee74a36723ddc5ff77a9ff020862a8ed8c998a5a65fae05c2894511aff4a24aa99849bf3e894e6b39da33c8b845022 SHA512 c8841ebf25ef1f8898f22765a7e1fbb4e13febaa9b9867a0ea41fc7d7556ceea18b2d7a85568025bee7a26e12e357e6d9d727ab38fa6983bbd66fae5ce135dd7
+MISC metadata.xml 335 BLAKE2B c73f884540b8b9210f8c4e465c0b5ac5dff7da15d6a6b35fa33f1a8b84672191948360ba12687549408cbc181fb62f448130cb079e920efbad711a661bc4d3b4 SHA512 d302e7216896061a7f154f2aca29d4e8f79f4cfdefd30c7535aa8565467e0b1878ecf90da5cfdadc0792a178338668ced99e9ea0dc3597857d5bacd29ea0ad05
diff --git a/dev-ml/ocaml-magic-mime/metadata.xml b/dev-ml/ocaml-magic-mime/metadata.xml
new file mode 100644
index 000000000000..ecc5aac550f5
--- /dev/null
+++ b/dev-ml/ocaml-magic-mime/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>Gentoo ML Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">mirage/ocaml-magic-mime</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/ocaml-magic-mime/ocaml-magic-mime-1.0.0.ebuild b/dev-ml/ocaml-magic-mime/ocaml-magic-mime-1.0.0.ebuild
new file mode 100644
index 000000000000..7693ae06464f
--- /dev/null
+++ b/dev-ml/ocaml-magic-mime/ocaml-magic-mime-1.0.0.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit oasis
+
+DESCRIPTION="Convert file extensions to MIME types"
+HOMEPAGE="https://github.com/mirage/ocaml-magic-mime"
+SRC_URI="https://github.com/mirage/ocaml-magic-mime/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="ISC"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
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
new file mode 100644
index 000000000000..17c16d0e2fa3
--- /dev/null
+++ b/dev-ml/ocaml-magic-mime/ocaml-magic-mime-1.1.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Convert file extensions to MIME types"
+HOMEPAGE="https://github.com/mirage/ocaml-magic-mime"
+SRC_URI="https://github.com/mirage/ocaml-magic-mime/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="ISC"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="dev-lang/ocaml:="
+DEPEND="${RDEPEND}
+ dev-ml/jbuilder
+ dev-ml/opam
+"
+
+src_install() {
+ opam-installer -i \
+ --prefix="${ED}/usr" \
+ --libdir="${D}/$(ocamlc -where)" \
+ --docdir="${ED}/usr/share/doc/${PF}" \
+ magic-mime.install || die
+}