blob: ef4bb38730e2f5ba7d08b23360b6ac8e8ee8e0ae [file] [log] [blame]
# 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
}