blob: 768a620783fb8ab4046c66273746226a17318dde (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/pcre-ocaml/pcre-ocaml-4.26.3.ebuild,v 1.8 2004/07/14 16:29:55 agriffis Exp $
DESCRIPTION="Perl Compatibility Regular Expressions for OCaml"
HOMEPAGE="http://www.ai.univie.ac.at/~markus/home/ocaml_sources.html"
LICENSE="LGPL-2.1"
DEPEND=">=dev-lang/ocaml-3.04-r1
>=dev-libs/libpcre-3.9-r1"
SRC_URI="http://www.ai.univie.ac.at/~markus/ocaml_sources/pcre-ocaml-4.26.3.tar.bz2"
SLOT="3"
KEYWORDS="x86"
IUSE=""
src_compile() {
make all opt || die
}
src_install () {
make OCAMLLIBPATH=${D}/usr/lib/ocaml install || die
mv ${D}/usr/lib/ocaml/contrib/* ${D}/usr/lib/ocaml || die
rmdir ${D}/usr/lib/ocaml/contrib || die
dodoc LICENSE README VERSION META
}
|