/[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.3 - (hide annotations) (download)
Sat Jul 28 20:55:30 2007 UTC (12 years, 8 months ago) by diox
Branch: MAIN
Changes since 1.2: +2 -2 lines
stabalized various haskell packages wrt #186849

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 diox 1.3 # $Header: /var/cvsroot/gentoo-x86/dev-haskell/drift/drift-2.2.0.ebuild,v 1.2 2007/07/28 14:39:02 nixnut 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 diox 1.3 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