summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Kolmodin <kolmodin@gentoo.org>2007-08-05 19:15:18 +0000
committerLennart Kolmodin <kolmodin@gentoo.org>2007-08-05 19:15:18 +0000
commit99abb1790b364924e79b3a305e60094f5dfcfe11 (patch)
tree6af426aba332074d54feda07380aa47f59ac9edf /dev-haskell/regex-base/regex-base-0.72.ebuild
parentStable on ppc64; bug #187205 (diff)
downloadgentoo-2-99abb1790b364924e79b3a305e60094f5dfcfe11.tar.gz
gentoo-2-99abb1790b364924e79b3a305e60094f5dfcfe11.tar.bz2
gentoo-2-99abb1790b364924e79b3a305e60094f5dfcfe11.zip
Initial versions of dev-haskell/regex-base
(Portage version: 2.1.3.1)
Diffstat (limited to 'dev-haskell/regex-base/regex-base-0.72.ebuild')
-rw-r--r--dev-haskell/regex-base/regex-base-0.72.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-haskell/regex-base/regex-base-0.72.ebuild b/dev-haskell/regex-base/regex-base-0.72.ebuild
new file mode 100644
index 000000000000..c6daf568f5f6
--- /dev/null
+++ b/dev-haskell/regex-base/regex-base-0.72.ebuild
@@ -0,0 +1,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.1 2007/08/05 19:15:18 kolmodin 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 ~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}"