# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # $Header:$ IUSE="" S="${WORKDIR}/${P}" DESCRIPTION="A package for ocaml that provides access to mysql databases." SRC_URI="http://raevnos.pennmush.org/code/ocaml-mysql-1.0.2.tar.gz" HOMEPAGE="http://raevnos.pennmush.org/code/ocaml.html" DEPEND=">=dev-lang/ocaml-3.06 >=mysql-4.0.12 >=findlib-0.8" RDEPEND=">=dev-lang/ocaml-3.06" SLOT="0" LICENSE="LGPL-2" KEYWORDS="~x86" src_compile() { econf || die "configure failed" make all || die "make failed" } src_install() { destdir=`ocamlfind printconf destdir` mkdir -p ${D}${destdir} || die make OCAMLFIND_DESTDIR=${D}${destdir} \ OCAMLFIND_LDCONF=dummy install \ || die "make install failed" dohtml -r doc/* dodoc META COPYING CHANGES README VERSION }