dev-haskell/magic: new package, a depend for git-annex
authorSergei Trofimovich <slyfox@gentoo.org>
Sun, 3 Apr 2016 21:16:15 +0000 (22:16 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Sun, 3 Apr 2016 21:24:36 +0000 (22:24 +0100)
Interface to C file/magic library

Package-Manager: portage-2.2.28

dev-haskell/magic/Manifest [new file with mode: 0644]
dev-haskell/magic/magic-1.1.ebuild [new file with mode: 0644]
dev-haskell/magic/metadata.xml [new file with mode: 0644]

diff --git a/dev-haskell/magic/Manifest b/dev-haskell/magic/Manifest
new file mode 100644 (file)
index 0000000..f66e46a
--- /dev/null
@@ -0,0 +1 @@
+DIST magic-1.1.tar.gz 4318 SHA256 b21c3b69f57b64199c1d7be0ac8ea1d02d698be59943058f6a2d642ea57ce082 SHA512 f400396b0f82f9655376ac72e721badcf60c356c8594b4b67922890f55bac8e15b7aa856fdf61942c40b2622bdc231914994968af3b98d353bf50aed09ebbef5 WHIRLPOOL 2979ed4441b2e2219c56d530e062665e0960c47c3081474f3f6fabd66c6624c43adc6bbbc3a12ec56d7e2b44bfcd0acc723a8d1078eef5e4e9878c60184cc840
diff --git a/dev-haskell/magic/magic-1.1.ebuild b/dev-haskell/magic/magic-1.1.ebuild
new file mode 100644 (file)
index 0000000..1d34936
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.4
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Interface to C file/magic library"
+HOMEPAGE="http://hackage.haskell.org/package/magic"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-lang/ghc-7.4.1:=
+       sys-apps/file
+"
+DEPEND="${RDEPEND}
+       dev-haskell/cabal
+"
diff --git a/dev-haskell/magic/metadata.xml b/dev-haskell/magic/metadata.xml
new file mode 100644 (file)
index 0000000..32e691a
--- /dev/null
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="project">
+               <email>haskell@gentoo.org</email>
+               <name>Gentoo Haskell</name>
+       </maintainer>
+       <longdescription>
+               This package provides a Haskell interface to the C libmagic library.
+               With it, you can determine the type of a file by examining its contents
+               rather than its name.  The Haskell interface provides a full-featured
+               binding.
+       </longdescription>
+</pkgmetadata>