/[gentoo-x86]/dev-haskell/drift/drift-2.2.0.ebuild
Gentoo

Contents of /dev-haskell/drift/drift-2.2.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Jul 28 14:39:02 2007 UTC (12 years, 8 months ago) by nixnut
Branch: MAIN
Changes since 1.1: +3 -3 lines
Stable on ppc wrt bug 186849
(Portage version: 2.1.3_rc9)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-haskell/drift/drift-2.2.0.ebuild,v 1.1 2006/10/11 23:33:40 dcoutts Exp $
4
5 inherit ghc-package
6
7 MY_PN="DrIFT"
8 MY_P="${MY_PN}-${PV}"
9
10 DESCRIPTION="Preprocessor for automatic derivation of Haskell class instances"
11 HOMEPAGE="http://repetae.net/john/computer/haskell/DrIFT/"
12 SRC_URI="http://repetae.net/john/computer/haskell/DrIFT/drop/${MY_P}.tar.gz"
13 LICENSE="MIT"
14 SLOT="0"
15
16 KEYWORDS="~amd64 ppc ~ppc64 ~sparc ~x86"
17
18 IUSE=""
19
20 DEPEND=">=virtual/ghc-6"
21 RDEPEND=""
22
23 S="${WORKDIR}/${MY_P}"
24
25 src_compile() {
26 econf --with-hc="$(ghc-getghc)" || die "configure failed"
27 # Makefile has no parallelism
28 emake -j1 || die "emake failed"
29 }
30
31 src_install() {
32 make DESTDIR="${D}" install || die "make install failed"
33 }

  ViewVC Help
Powered by ViewVC 1.1.20