/[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.7 - (hide annotations) (download)
Wed Oct 31 12:55:21 2007 UTC (12 years, 5 months ago) by dcoutts
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +2 -2 lines
Drop virtual/ghc in favour of dev-lang/ghc
(Portage version: 2.1.3.16)

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 dcoutts 1.7 # $Header: /var/cvsroot/gentoo-x86/dev-haskell/drift/drift-2.2.0.ebuild,v 1.6 2007/08/11 15:29:15 beandog 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 beandog 1.6 KEYWORDS="amd64 ppc ppc64 sparc x86"
17 dcoutts 1.1
18     IUSE=""
19    
20 dcoutts 1.7 DEPEND=">=dev-lang/ghc-6"
21 dcoutts 1.1 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