Skip to content

Commit

Permalink
dev-haskell/magic: new package, a depend for git-annex
Browse files Browse the repository at this point in the history
Interface to C file/magic library

Package-Manager: portage-2.2.28
  • Loading branch information
Sergei Trofimovich committed Apr 3, 2016
1 parent 87f4325 commit 7a0697d
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-haskell/magic/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST magic-1.1.tar.gz 4318 SHA256 b21c3b69f57b64199c1d7be0ac8ea1d02d698be59943058f6a2d642ea57ce082 SHA512 f400396b0f82f9655376ac72e721badcf60c356c8594b4b67922890f55bac8e15b7aa856fdf61942c40b2622bdc231914994968af3b98d353bf50aed09ebbef5 WHIRLPOOL 2979ed4441b2e2219c56d530e062665e0960c47c3081474f3f6fabd66c6624c43adc6bbbc3a12ec56d7e2b44bfcd0acc723a8d1078eef5e4e9878c60184cc840
26 changes: 26 additions & 0 deletions dev-haskell/magic/magic-1.1.ebuild
Original file line number Diff line number Diff line change
@@ -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
"
14 changes: 14 additions & 0 deletions dev-haskell/magic/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>[email protected]</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>

0 comments on commit 7a0697d

Please sign in to comment.