summaryrefslogtreecommitdiff
blob: 1a32236a0fe5bdbb64e7f2207fdea0fe8e8764b6 (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-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/pxp/pxp-1.1.5.ebuild,v 1.3 2003/03/11 20:59:37 george Exp $

DESCRIPTION="PXP is a validating XML parser library for O'Caml"
HOMEPAGE="http://www.ocaml-programming.de/packages/documentation/pxp/index_dev.html"
SRC_URI="http://www.ocaml-programming.de/packages/${P}.tar.gz"

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

DEPEND=">=dev-ml/pcre-ocaml-4.31
	>=dev-ml/ocamlnet-0.94
	>=dev-ml/findlib-0.8"

IUSE=""

src_compile() {
	#the included configure does not support  many standard switches and is quite picky
	./configure || die
	make all opt || die
}

src_install() {
	# Go ahead
	destdir=`ocamlfind printconf destdir`
	mkdir -p ${D}${destdir} || die
	make OCAMLFIND_DESTDIR=${D}${destdir} install || die
}