summaryrefslogtreecommitdiff
blob: 8802c5d90bc2788f10fb3f9c6ca70daf08cb98ac (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/regex-base/regex-base-0.72.ebuild,v 1.8 2007/12/17 00:59:12 jer Exp $

CABAL_FEATURES="profile haddock lib"
inherit eutils haskell-cabal

MY_PV="0.71"
MY_P="regex-base-${MY_PV}"

DESCRIPTION="Replaces/Enhances Text.Regex"
HOMEPAGE="http://sourceforge.net/projects/lazy-regex"
SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${MY_PV}/${MY_P}.tar.gz"

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

DEPEND=">=dev-lang/ghc-6.6"

CABAL_CORE_LIB_GHC_PV="6.6.1"

src_unpack() {
	unpack "${A}"

	# Upgrade us from 0.71 to 0.72 which comes with ghc-6.6.1
	cd "${S}"
	epatch "${FILESDIR}/${PN}-0.71-0.72.patch"
}

S="${WORKDIR}/${MY_P}"