From 7a0697d50a8442cdf3501ded6278c2e30a232f05 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 3 Apr 2016 22:16:15 +0100 Subject: [PATCH] dev-haskell/magic: new package, a depend for git-annex Interface to C file/magic library Package-Manager: portage-2.2.28 --- dev-haskell/magic/Manifest | 1 + dev-haskell/magic/magic-1.1.ebuild | 26 ++++++++++++++++++++++++++ dev-haskell/magic/metadata.xml | 14 ++++++++++++++ 3 files changed, 41 insertions(+) create mode 100644 dev-haskell/magic/Manifest create mode 100644 dev-haskell/magic/magic-1.1.ebuild create mode 100644 dev-haskell/magic/metadata.xml diff --git a/dev-haskell/magic/Manifest b/dev-haskell/magic/Manifest new file mode 100644 index 0000000000000..f66e46affb691 --- /dev/null +++ b/dev-haskell/magic/Manifest @@ -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 index 0000000000000..1d349367f6a90 --- /dev/null +++ b/dev-haskell/magic/magic-1.1.ebuild @@ -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 index 0000000000000..32e691a5478a3 --- /dev/null +++ b/dev-haskell/magic/metadata.xml @@ -0,0 +1,14 @@ + + + + + haskell@gentoo.org + Gentoo Haskell + + + 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. + +