summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-haskell/c2hs/ChangeLog7
-rw-r--r--dev-haskell/c2hs/c2hs-0.13.1.ebuild51
-rw-r--r--dev-haskell/c2hs/c2hs-0.14.3.ebuild32
-rw-r--r--dev-haskell/c2hs/files/digest-c2hs-0.13.11
-rw-r--r--dev-haskell/c2hs/files/digest-c2hs-0.14.31
5 files changed, 5 insertions, 87 deletions
diff --git a/dev-haskell/c2hs/ChangeLog b/dev-haskell/c2hs/ChangeLog
index 47e1ff924f0f..d37904d6fffb 100644
--- a/dev-haskell/c2hs/ChangeLog
+++ b/dev-haskell/c2hs/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-haskell/c2hs
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/c2hs/ChangeLog,v 1.9 2005/12/12 12:37:49 dcoutts Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/c2hs/ChangeLog,v 1.10 2006/02/10 12:29:22 dcoutts Exp $
+
+ 10 Feb 2006; <duncan@gentoo.org> -c2hs-0.13.1.ebuild, -c2hs-0.14.3.ebuild:
+ Remove older patch-level releases.
*c2hs-0.14.5 (12 Dec 2005)
diff --git a/dev-haskell/c2hs/c2hs-0.13.1.ebuild b/dev-haskell/c2hs/c2hs-0.13.1.ebuild
deleted file mode 100644
index 177bedbf0550..000000000000
--- a/dev-haskell/c2hs/c2hs-0.13.1.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/c2hs/c2hs-0.13.1.ebuild,v 1.5 2005/03/14 18:52:06 kosmikus Exp $
-
-DESCRIPTION="An interface generator for Haskell"
-HOMEPAGE="http://www.cse.unsw.edu.au/~chak/haskell/c2hs/"
-SRC_URI="http://www.cse.unsw.edu.au/~chak/haskell/c2hs/${P}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-
-KEYWORDS="~x86"
-
-IUSE=""
-
-DEPEND=">=virtual/ghc-6.2
- !>=virtual/ghc-6.4"
-
-src_unpack() {
- unpack ${A}
- # package config file apparently missing haskell98 dependency
- sed -i "s:lang\":lang\",\"haskell98\":" ${S}/c2hs/c2hs.conf.in
-}
-
-src_compile() {
- econf --disable-add-package || die "configure failed"
- # tested emake; doesn't work
- emake -j1 || die "make failed"
-}
-
-src_install() {
- make DESTDIR=${D} install || die "make install failed"
-}
-
-pkg_postinst() {
- einfo "Registering c2hs package"
- /usr/bin/c2hs-config --package-conf \
- | ghc-pkg -u --auto-ghci-libs
-}
-
-pkg_postrm() {
- # check if another version is still there
- has_version "<${CATEGORY}/${PF}" \
- || has_version ">${CATEGORY}/${PF}" \
- || unregister_ghc_packages
-}
-
-unregister_ghc_packages() {
- einfo "Unregistering c2hs package"
- /usr/bin/ghc-pkg -r c2hs
-}
-
diff --git a/dev-haskell/c2hs/c2hs-0.14.3.ebuild b/dev-haskell/c2hs/c2hs-0.14.3.ebuild
deleted file mode 100644
index dea4e216f940..000000000000
--- a/dev-haskell/c2hs/c2hs-0.14.3.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/c2hs/c2hs-0.14.3.ebuild,v 1.1 2005/12/05 13:20:36 dcoutts Exp $
-
-inherit base eutils haskell-cabal
-
-DESCRIPTION="An interface generator for Haskell"
-HOMEPAGE="http://www.cse.unsw.edu.au/~chak/haskell/c2hs/"
-SRC_URI="http://www.cse.unsw.edu.au/~chak/haskell/c2hs/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~amd64 ~ppc"
-IUSE=""
-
-DEPEND=">=virtual/ghc-6.0"
-
-src_unpack() {
- base_src_unpack
- cd "${S}"
- epatch "${FILESDIR}/setupfix.patch"
- epatch "${FILESDIR}/cabalfix.patch"
-}
-src_install() {
- cabal_src_install
- exeinto /usr
- dobin c2hs/c2hs
- insinto "/usr/lib/${P}"
- doins "${S}/c2hs/lib/C2HS.hs"
- exeinto "/usr/lib/${P}"
- doexe dist/build/c2hs/c2hs
-}
diff --git a/dev-haskell/c2hs/files/digest-c2hs-0.13.1 b/dev-haskell/c2hs/files/digest-c2hs-0.13.1
deleted file mode 100644
index 54799ac06fe3..000000000000
--- a/dev-haskell/c2hs/files/digest-c2hs-0.13.1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 7b00cc31c50a6eb6b29ec537e5581a24 c2hs-0.13.1.tar.gz 371020
diff --git a/dev-haskell/c2hs/files/digest-c2hs-0.14.3 b/dev-haskell/c2hs/files/digest-c2hs-0.14.3
deleted file mode 100644
index 1ade72700b52..000000000000
--- a/dev-haskell/c2hs/files/digest-c2hs-0.14.3
+++ /dev/null
@@ -1 +0,0 @@
-MD5 f654b5950bdbeb4ddbea1fca1407ec57 c2hs-0.14.3.tar.gz 306118