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/hdoc/hdoc-0.8.3.ebuild

31 lines
822 B

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hdoc/hdoc-0.8.3.ebuild,v 1.13 2010/07/12 09:47:09 slyfox Exp $
inherit base
DESCRIPTION="A documentation generator for Haskell"
HOMEPAGE="http://www.fmi.uni-passau.de/~groessli/hdoc/"
SRC_URI="http://www.fmi.uni-passau.de/~groessli/hdoc/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 sparc x86"
IUSE=""
DEPEND="dev-lang/ghc"
RDEPEND=""
PATCHES=("${FILESDIR}/hdoc-0.8.3-remove-strip.patch")
src_compile() {
econf --with-compiler=ghc || die "econf failed"
emake || die "emake failed"
}
src_install() {
# DESTDIR does not work, but only bindir is used ...
make bindir="${D}/usr/bin" install || die "installation failed"
dodoc docs/hdoc.pdf
}