summaryrefslogtreecommitdiff
blob: 3990f502f430c41416497e4e44eb6872c77a86cd (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ocamlnet-0.98.ebuild,v 1.2 2005/02/18 17:37:19 mr_bones_ Exp $

inherit findlib

DESCRIPTION="Modules for O'Caml application-level Internet protocols"
HOMEPAGE="http://ocamlnet.sourceforge.net"
SRC_URI="mirror://sourceforge/ocamlnet/${P}.tar.gz"

LICENSE="as-is"
KEYWORDS="~ppc ~x86"
SLOT=")"
IUSE=""

DEPEND=">=dev-ml/pcre-ocaml-4.31.0"

S="${WORKDIR}/${P}/src"

src_compile() {
	./configure || die "configure failed"
	make all opt || die "make failed"
}

src_install() {
	findlib_src_install NET_DB_DIR="${D}${OCAML_SITELIB}/netstring"

	cd "${WORKDIR}/${P}"
	dodoc README
	dohtml doc/intro/html/*
}