/[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.1 - (hide annotations) (download)
Wed Oct 11 23:33:40 2006 UTC (13 years, 5 months ago) by dcoutts
Branch: MAIN
Version bump
(Portage version: 2.1.1-r1)

1 dcoutts 1.1 # Copyright 1999-2006 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: $
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