summaryrefslogtreecommitdiff
path: root/dev-ml/ocaml-magic-mime
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-ml/ocaml-magic-mime
reinit the tree, so we can have metadata
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..da29aa0fe06a
--- /dev/null
+++ b/dev-ml/ocaml-magic-mime/Manifest
@@ -0,0 +1,5 @@
+DIST ocaml-magic-mime-1.0.0.tar.gz 53937 SHA256 a9ae72476e7b8dbd70462a10b289cb29ea8a2b1b0e6e31c8faa9e5447a51e159 SHA512 e6a050e0adc465d174083b101b66805e3261b0498cd20d19bd4d2da52859d6c792f8e13e1c787d54f81e1ff65048f4fb3c38367f1a60c8e5c94367f5f685dc8e WHIRLPOOL be87b1b7d0f5426360f4c565933ab7eae572a71f045dbaeff6c2ee8fb7a02e8e0a3e6c3a9843cdedde02d9c78e5f2b973b9bb5768fbc267a4852277984a9e440
+DIST ocaml-magic-mime-1.1.0.tar.gz 13228 SHA256 76b01222006ac77c9f95053af3ef1c3d9fc7c340fd5637bcc5659bda772f0ddf SHA512 41daa6d85a1398498f03dc54d6e5c5057c79c9c7e4063fb67e73c1b497e69a0c67796640c837fcf3715e8bea7590288f1cf84e41c7ab46d910c6d8d32156efe5 WHIRLPOOL 52011c018f869cde3436cccf98e9d5fd8f96f6ea4a2d686f2d75b08afae3491f5216818e567e0296c5e253dd506165a11892edbb3d2f18b8bc73be6d7260e829
+EBUILD ocaml-magic-mime-1.0.0.ebuild 413 SHA256 f80999f1bac52bf9a56a333145ed7a9435a6a990c0a12af0926f751118f28440 SHA512 a7f2c1522bf4ebdbb409d4a49f52f81785484a3e6bd62190aa1b2dfea433164ab76ab9825d030bb89e4b32565c552f7fb8bc7d70d999fb686265e33d6901ff73 WHIRLPOOL 24920829370f4ffbd44df13b4c41d3705484e27634d7e6792c8cf4ff7e69bf129d7ef361c19aab1aae555590985f7f9825444692627b55848c7dc3d3a2a7a6c9
+EBUILD ocaml-magic-mime-1.1.0.ebuild 617 SHA256 34129f84b00c17782dcd0643246eac129e576527c1f7641df3425d77fbbb69f1 SHA512 c8841ebf25ef1f8898f22765a7e1fbb4e13febaa9b9867a0ea41fc7d7556ceea18b2d7a85568025bee7a26e12e357e6d9d727ab38fa6983bbd66fae5ce135dd7 WHIRLPOOL bf2b0d47ce118ce9dca1888e6ee52914d0e833da9a6932587234cc2d727bd585674db1045e4200f60da10f4042e1d8f149a6d876bfe974aafbc9023e8533b333
+MISC metadata.xml 335 SHA256 7062bab9d5fce4d9625c33ec255114ec9a7a7bc94f3ca4ba76d6e686a5853adf SHA512 d302e7216896061a7f154f2aca29d4e8f79f4cfdefd30c7535aa8565467e0b1878ecf90da5cfdadc0792a178338668ced99e9ea0dc3597857d5bacd29ea0ad05 WHIRLPOOL 1300964cd8fa6d4a04c982a3d7e04f24f664792a0bbbd18adf73d89c892e38081fff2fa26643b9a9425357ad15d64c896e934ce95639872b27b10328a2b8125c
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
+}