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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Sun May 13 09:37:20 2012 UTC (7 years, 9 months ago) by slyfox
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +11 -8 lines
Fix build failure against ghc-7.4.

(Portage version: 2.2.0_alpha101_p6/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI=4
6
7 inherit base ghc-package
8
9 MY_PN="DrIFT"
10 MY_P="${MY_PN}-${PV}"
11
12 DESCRIPTION="Preprocessor for automatic derivation of Haskell class instances"
13 HOMEPAGE="http://repetae.net/john/computer/haskell/DrIFT/"
14 SRC_URI="http://repetae.net/john/computer/haskell/DrIFT/drop/${MY_P}.tar.gz"
15 LICENSE="MIT"
16 SLOT="0"
17
18 KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86"
19
20 IUSE=""
21
22 DEPEND=">=dev-lang/ghc-6"
23 RDEPEND=""
24
25 S="${WORKDIR}/${MY_P}"
26
27 PATCHES=("${FILESDIR}"/${PN}-2.2.3-ghc-7.4.patch)
28
29 src_configure() {
30 econf --with-hc="$(ghc-getghc)" --with-hcflags="${HCFLAGS} -package haskell98 -hide-package base"
31 }
32
33 src_compile() {
34 # Makefile has no parallelism
35 emake -j1
36 }

  ViewVC Help
Powered by ViewVC 1.1.20