blob: 4bb698288c83f5af404435d6271f9f917446d805 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/libmpd/libmpd-0.8.0.1-r1.ebuild,v 1.1 2013/01/01 23:55:17 slyfox Exp $
EAPI=5
# ebuild generated by hackport 0.2.18
CABAL_FEATURES="lib profile haddock hoogle hscolour"
inherit haskell-cabal
DESCRIPTION="An MPD client library."
HOMEPAGE="http://github.com/joachifm/libmpd-haskell"
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=dev-haskell/mtl-2.0:=[profile?]
<dev-haskell/mtl-2.2:=[profile?]
>=dev-haskell/network-2.1:=[profile?]
<dev-haskell/network-2.5:=[profile?]
=dev-haskell/text-0.11*:=[profile?]
>=dev-haskell/utf8-string-0.3.1:=[profile?]
<dev-haskell/utf8-string-0.4:=[profile?]
>=dev-lang/ghc-6.12.1:="
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.10"
src_prepare() {
cabal_chdeps \
'network >= 2.1 && < 2.4' 'network >= 2.1 && < 2.5'
sed -e '/Test-Suite specs/,$d' \
-i "${S}/${PN}.cabal" || die "Could not remove incomplete tests"
}
|