diff options
author | Duncan Coutts <dcoutts@gentoo.org> | 2007-04-29 23:16:13 +0000 |
---|---|---|
committer | Duncan Coutts <dcoutts@gentoo.org> | 2007-04-29 23:16:13 +0000 |
commit | 1b45b5ace1ad75a28df7d3803f90e2fe0bb01c89 (patch) | |
tree | 032d7689622082ed2ae20b3c032eda7650966179 /dev-haskell/missingh | |
parent | Revbump for migration to gen-2 eclasses. (diff) | |
download | gentoo-2-1b45b5ace1ad75a28df7d3803f90e2fe0bb01c89.tar.gz gentoo-2-1b45b5ace1ad75a28df7d3803f90e2fe0bb01c89.tar.bz2 gentoo-2-1b45b5ace1ad75a28df7d3803f90e2fe0bb01c89.zip |
New version that builds with ghc 6.4.2 and 6.6
(Portage version: 2.1.2.2)
Diffstat (limited to 'dev-haskell/missingh')
-rw-r--r-- | dev-haskell/missingh/ChangeLog | 9 | ||||
-rw-r--r-- | dev-haskell/missingh/files/digest-missingh-0.16.0 | 3 | ||||
-rw-r--r-- | dev-haskell/missingh/missingh-0.16.0.ebuild | 40 |
3 files changed, 50 insertions, 2 deletions
diff --git a/dev-haskell/missingh/ChangeLog b/dev-haskell/missingh/ChangeLog index 5ea7ae64ba7f..b8083e645195 100644 --- a/dev-haskell/missingh/ChangeLog +++ b/dev-haskell/missingh/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-haskell/missingh -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/missingh/ChangeLog,v 1.1 2006/07/04 19:55:39 kolmodin Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/missingh/ChangeLog,v 1.2 2007/04/29 23:16:13 dcoutts Exp $ + +*missingh-0.16.0 (29 Apr 2007) + + 29 Apr 2007; Duncan Coutts <dcoutts@gentoo.org> +missingh-0.16.0.ebuild: + New version that builds with ghc 6.4.2 and 6.6 *missingh-0.14.4 (04 Jul 2006) diff --git a/dev-haskell/missingh/files/digest-missingh-0.16.0 b/dev-haskell/missingh/files/digest-missingh-0.16.0 new file mode 100644 index 000000000000..ae5b35555083 --- /dev/null +++ b/dev-haskell/missingh/files/digest-missingh-0.16.0 @@ -0,0 +1,3 @@ +MD5 6f77f7a45be9c01992ed852b9179c9f9 missingh_0.16.0.tar.gz 349365 +RMD160 cc2a34d5f74f02c8ce10488699584b4db9f28260 missingh_0.16.0.tar.gz 349365 +SHA256 6db94808db0a9f1196d902730f913f4c6900a9f20fbb7da50c122219b7eae854 missingh_0.16.0.tar.gz 349365 diff --git a/dev-haskell/missingh/missingh-0.16.0.ebuild b/dev-haskell/missingh/missingh-0.16.0.ebuild new file mode 100644 index 000000000000..b8506517ba0a --- /dev/null +++ b/dev-haskell/missingh/missingh-0.16.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/missingh/missingh-0.16.0.ebuild,v 1.1 2007/04/29 23:16:13 dcoutts Exp $ + +CABAL_FEATURES="lib profile haddock" +inherit base haskell-cabal + +DESCRIPTION="Collection of Haskell-related utilities" +HOMEPAGE="http://software.complete.org/missingh" +SRC_URI="http://software.complete.org/missingh/static/download_area/0.16/missingh_${PV}.tar.gz" + +LICENSE="GPL-2" # mixed licence, mostly GPL +KEYWORDS="~amd64 ~x86" +IUSE="" +SLOT="0" + +S="${WORKDIR}/missingh" + +DEPEND=">=virtual/ghc-6.4.2" + +src_unpack() { + base_src_unpack + + # removes warning with later versions of cabal + sed -i -e "s/HS-Source-Dir/HS-Source-Dirs/" "${S}/MissingH.cabal" + + # change -O2 to -O + sed -i -e "s/GHC-Options: -O2/GHC-Options: -O/" "${S}/MissingH.cabal" + + # rexex module got it's onw package in 6.6 but before that it was in base + # so don't dep on the regex-compat package with ghc-6.4.x + if ! version_is_at_least "6.6" "$(ghc-version)"; then + sed -i -e "s/regex-compat,//" "${S}/MissingH.cabal" + fi +} + +src_install() { + cabal_src_install + dodoc README COPYRIGHT +} |