/[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.5 - (hide annotations) (download)
Mon Jul 30 16:24:52 2007 UTC (12 years, 8 months ago) by corsair
Branch: MAIN
Changes since 1.4: +2 -2 lines
Stable on ppc64; bug #186849
(Portage version: 2.1.2.9)

1 nixnut 1.2 # Copyright 1999-2007 Gentoo Foundation
2 dcoutts 1.1 # Distributed under the terms of the GNU General Public License v2
3 corsair 1.5 # $Header: /var/cvsroot/gentoo-x86/dev-haskell/drift/drift-2.2.0.ebuild,v 1.4 2007/07/30 12:52:07 fmccor Exp $
4 dcoutts 1.1
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 corsair 1.5 KEYWORDS="~amd64 ppc ppc64 sparc x86"
17 dcoutts 1.1
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