summaryrefslogtreecommitdiff
blob: c78bd8d9e961beeb4e2b9906acbf423f6ce6a77a (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
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocaml-shell/ocaml-shell-0.2.3-r1.ebuild,v 1.4 2004/03/13 19:51:28 mr_bones_ Exp $

DESCRIPTION="O'Caml modules for running shell commands and pipelines"
HOMEPAGE="http://www.ocaml-programming.de/packages/documentation/shell/"
SRC_URI="http://www.ocaml-programming.de/packages/shell-${PV}.tar.gz"

LICENSE="as-is"
SLOT="0"
KEYWORDS="x86"

DEPEND=">=dev-lang/ocaml-3.06
	>=dev-ml/findlib-0.8"
IUSE=""
S="${WORKDIR}/shell-${PV}"

src_compile() {
	make all opt || die
}

src_install() {
	# must create destdir beforehand
	destdir=`ocamlfind printconf destdir`
	mkdir -p ${D}${destdir} || die
	# install
	make INSTALLDIR=${D}${destdir}/shell conventional-install || die

	dodoc doc/README
}