summaryrefslogtreecommitdiff
blob: 6b61d2585f6dd5b09dfc5b5c2ed79531f63210cb (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/iconv/iconv-0.4.0.2.ebuild,v 1.1 2009/11/09 18:59:23 kolmodin Exp $

CABAL_FEATURES="lib profile haddock"
inherit haskell-cabal

DESCRIPTION="String encoding conversion"
HOMEPAGE="http://hackage.haskell.org/cgi-bin/hackage-scripts/package/iconv"
SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~sparc ~x86"
IUSE=""

RDEPEND=">=dev-lang/ghc-6.6.1"
DEPEND="${RDEPEND}
		>=dev-haskell/cabal-1.2.1"

src_unpack() {
	unpack ${A}

	sed -e 's/^library/library\n  build-depends: base < 4/' \
	  -i "${S}/${PN}.cabal"
}