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