diff options
author | Lennart Kolmodin <kolmodin@gentoo.org> | 2010-01-26 20:22:33 +0000 |
---|---|---|
committer | Lennart Kolmodin <kolmodin@gentoo.org> | 2010-01-26 20:22:33 +0000 |
commit | 0ea11bef37ebe3b73beba8f9d4990f44f0fe01d8 (patch) | |
tree | baa69c5b8f9e5d67c4fcf6d29882b08f0dfe451c /dev-haskell | |
parent | Bump (diff) | |
download | gentoo-2-0ea11bef37ebe3b73beba8f9d4990f44f0fe01d8.tar.gz gentoo-2-0ea11bef37ebe3b73beba8f9d4990f44f0fe01d8.tar.bz2 gentoo-2-0ea11bef37ebe3b73beba8f9d4990f44f0fe01d8.zip |
Version bump dev-haskell/cabal-1.8.0.2.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'dev-haskell')
-rw-r--r-- | dev-haskell/cabal/ChangeLog | 7 | ||||
-rw-r--r-- | dev-haskell/cabal/cabal-1.8.0.2.ebuild | 38 |
2 files changed, 44 insertions, 1 deletions
diff --git a/dev-haskell/cabal/ChangeLog b/dev-haskell/cabal/ChangeLog index 51c63fd1901e..85caa5201075 100644 --- a/dev-haskell/cabal/ChangeLog +++ b/dev-haskell/cabal/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-haskell/cabal # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal/ChangeLog,v 1.51 2010/01/02 12:22:37 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal/ChangeLog,v 1.52 2010/01/26 20:22:33 kolmodin Exp $ + +*cabal-1.8.0.2 (26 Jan 2010) + + 26 Jan 2010; <kolmodin@gentoo.org> +cabal-1.8.0.2.ebuild: + Version bump. 02 Jan 2010; Christian Faulhammer <fauli@gentoo.org> cabal-1.6.0.3.ebuild: Transfer Prefix keywords diff --git a/dev-haskell/cabal/cabal-1.8.0.2.ebuild b/dev-haskell/cabal/cabal-1.8.0.2.ebuild new file mode 100644 index 000000000000..1ae022d69a81 --- /dev/null +++ b/dev-haskell/cabal/cabal-1.8.0.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal/cabal-1.8.0.2.ebuild,v 1.1 2010/01/26 20:22:33 kolmodin Exp $ + +CABAL_FEATURES="bootstrap lib profile" +inherit haskell-cabal eutils + +MY_PN="Cabal" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A framework for packaging Haskell software" +HOMEPAGE="http://www.haskell.org/cabal/" +SRC_URI="http://hackage.haskell.org/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="doc" + +# Cabal.cabal only depends on base>=1&&<5 and filepath>=1&&<1.2 +# filepath has been a ghc core library since ghc 6.6.1, so let's use that as the +# lowest possible ghc version +DEPEND=">=dev-lang/ghc-6.6.1" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +CABAL_CORE_LIB_GHC_PV="6.12.1" + +src_compile() { + if ! cabal-is-dummy-lib; then + einfo "Bootstrapping Cabal..." + $(ghc-getghc) -i -i. -i"${WORKDIR}/${FP_P}" -cpp --make Setup.hs \ + -o setup || die "compiling Setup.hs failed" + cabal-configure + cabal-build + fi +} |