summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Loeh <kosmikus@gentoo.org>2004-08-24 09:25:33 +0000
committerAndres Loeh <kosmikus@gentoo.org>2004-08-24 09:25:33 +0000
commit6f4be7e0a983fa45c07657731b1bb0dd11fa35ea (patch)
treef97843fc08cf7d1146a65533ea9b064138d6c0a4 /dev-haskell/c2hs
parentnew import (Manifest recommit) (diff)
downloadgentoo-2-6f4be7e0a983fa45c07657731b1bb0dd11fa35ea.tar.gz
gentoo-2-6f4be7e0a983fa45c07657731b1bb0dd11fa35ea.tar.bz2
gentoo-2-6f4be7e0a983fa45c07657731b1bb0dd11fa35ea.zip
minor ebuild fixes
Diffstat (limited to 'dev-haskell/c2hs')
-rw-r--r--dev-haskell/c2hs/ChangeLog5
-rw-r--r--dev-haskell/c2hs/c2hs-0.13.1.ebuild18
2 files changed, 16 insertions, 7 deletions
diff --git a/dev-haskell/c2hs/ChangeLog b/dev-haskell/c2hs/ChangeLog
index 18e07ca23db5..a6d1626076ec 100644
--- a/dev-haskell/c2hs/ChangeLog
+++ b/dev-haskell/c2hs/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-haskell/c2hs
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/c2hs/ChangeLog,v 1.1 2004/08/24 08:47:49 kosmikus Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/c2hs/ChangeLog,v 1.2 2004/08/24 09:25:33 kosmikus Exp $
+
+ 24 Aug 2004; Andres Loeh <kosmikus@gentoo.org> c2hs-0.13.1.ebuild:
+ Minor ebuild fixes.
*c2hs-0.13.1 (24 Aug 2004)
diff --git a/dev-haskell/c2hs/c2hs-0.13.1.ebuild b/dev-haskell/c2hs/c2hs-0.13.1.ebuild
index ed7661b57627..22cca24ddf56 100644
--- a/dev-haskell/c2hs/c2hs-0.13.1.ebuild
+++ b/dev-haskell/c2hs/c2hs-0.13.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 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.1 2004/08/24 08:47:49 kosmikus Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/c2hs/c2hs-0.13.1.ebuild,v 1.2 2004/08/24 09:25:33 kosmikus Exp $
DESCRIPTION="An interface generator for Haskell"
HOMEPAGE="http://www.cse.unsw.edu.au/~chak/haskell/c2hs/"
@@ -8,22 +8,28 @@ SRC_URI="http://www.cse.unsw.edu.au/~chak/haskell/c2hs/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
+inherit base
+
KEYWORDS="~x86"
IUSE=""
DEPEND=">=virtual/ghc-6.2"
-src_compile() {
+src_unpack() {
+ base_src_unpack
# package config file apparently missing haskell98 dependency
- sed -i "s:lang\":lang\",\"haskell98\":" c2hs/c2hs.conf.in
- econf --disable-add-package || die
+ 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
- make || die
+ emake -j1 || die "make failed"
}
src_install() {
- make DESTDIR=${D} install || die
+ make DESTDIR=${D} install || die "make install failed"
}
pkg_postinst() {