blob: 923a6fa2a7aff1c90d47af00bf8a6cb53ce47b5d (
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
37
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/equeue/equeue-2.0.1.ebuild,v 1.3 2004/09/30 18:51:31 mattam Exp $
inherit eutils findlib
DESCRIPTION="OCaml generic event queue module"
HOMEPAGE="http://www.ocaml-programming.de/programming/equeue.html"
LICENSE="as-is"
DEPEND=">=dev-lang/ocaml-3.07"
SRC_URI="http://www.ocaml-programming.de/packages/${P}.tar.gz"
SLOT="0"
KEYWORDS="x86 ppc amd64"
IUSE="doc"
src_unpack() {
unpack ${A}
epatch ${FILESDIR}/${P}-bufsize.patch
}
src_compile() {
# Haven't gotten tcl support working yet...
./configure -with-equeue-core -with-shell -without-equeue-tcl || die
make all opt || die
}
src_install () {
findlib_src_install
dodoc README doc/SHELL LICENSE
if use doc; then
dohtml doc/users-guide/html/*
cp -R doc/refman-shell ${D}/usr/share/doc/${PF}/
cp -R doc/refman-equeue ${D}/usr/share/doc/${PF}/
fi
}
|