diff options
Diffstat (limited to 'dev-haskell/iconv/iconv-0.4.0.2.ebuild')
-rw-r--r-- | dev-haskell/iconv/iconv-0.4.0.2.ebuild | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-haskell/iconv/iconv-0.4.0.2.ebuild b/dev-haskell/iconv/iconv-0.4.0.2.ebuild new file mode 100644 index 000000000000..6b61d2585f6d --- /dev/null +++ b/dev-haskell/iconv/iconv-0.4.0.2.ebuild @@ -0,0 +1,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" +} |