You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-haskell/drift/drift-2.2.3.ebuild

37 lines
776 B

# 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
}