/[gentoo-x86]/eclass/findlib.eclass
Gentoo

Diff of /eclass/findlib.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1.1.1 Revision 1.3
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/findlib.eclass,v 1.1.1.1 2005/11/30 09:59:34 chriswhite Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/findlib.eclass,v 1.3 2005/07/06 20:20:03 agriffis Exp $
4# 4#
5# Author : Matthieu Sozeau <mattam@gentoo.org> 5# Author : Matthieu Sozeau <mattam@gentoo.org>
6# 6#
7# ocamlfind (a.k.a. findlib) eclass 7# ocamlfind (a.k.a. findlib) eclass
8# 8#
9 9
10INHERITED="$INHERITED $ECLASS"
10 11
11# From this findlib version there is proper stublibs support. 12# From this findlib version there is proper stublibs support.
12DEPEND=">=dev-ml/findlib-1.0.4-r1" 13DEPEND=">=dev-ml/findlib-1.0.4-r1"
13 14
14check_ocamlfind() { 15check_ocamlfind() {
27 check_ocamlfind 28 check_ocamlfind
28 29
29 # destdir is the ocaml sitelib 30 # destdir is the ocaml sitelib
30 local destdir=`ocamlfind printconf destdir` 31 local destdir=`ocamlfind printconf destdir`
31 32
32 dodir ${destdir} || die "dodir failed" 33 dodir ${destdir} || die "dodir failed"
33 export OCAMLFIND_DESTDIR=${D}${destdir} 34 export OCAMLFIND_DESTDIR=${D}${destdir}
34 35
35 # stublibs style 36 # stublibs style
36 dodir ${destdir}/stublibs || die "dodir failed" 37 dodir ${destdir}/stublibs || die "dodir failed"
37 export OCAMLFIND_LDCONF=ignore 38 export OCAMLFIND_LDCONF=ignore

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20