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
commit2f186731b3dc0e5602548eddeed23ea64ae170d2 (patch)
treeefa67b5c02f0b4a182778094f417662b89f3154d /dev-haskell/c2hs
parentnew import (diff)
downloadhistorical-2f186731b3dc0e5602548eddeed23ea64ae170d2.tar.gz
historical-2f186731b3dc0e5602548eddeed23ea64ae170d2.tar.bz2
historical-2f186731b3dc0e5602548eddeed23ea64ae170d2.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() {