ChangeLog

# ChangeLog for dev-ml/extlib
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/extlib/ChangeLog,v 1.9 2008/04/20 14:20:27 aballier Exp $

20 Apr 2008; Alexis Ballier
-files/extlib-1.5-ExtList.remove.patch, -extlib-1.4.ebuild,
-extlib-1.5.ebuild:
remove old

20 Apr 2008; Markus Meier extlib-1.5.1.ebuild:
amd64/x86 stable, bug #217537

19 Apr 2008; nixnut extlib-1.5.1.ebuild:
Stable on ppc wrt bug 217537

27 Jan 2008; Fabian Groffen extlib-1.4.ebuild,
extlib-1.5.ebuild, extlib-1.5.1.ebuild:
Dropped ppc-macos keyword, see you in prefix

*extlib-1.5.1 (03 Jan 2008)

03 Jan 2008; Alexis Ballier +extlib-1.5.1.ebuild:
version bump, add optional support for ocamlopt

21 Feb 2007; Alexandre Buisse extlib-1.5.ebuild:
Removed multiple inherit (thanks to Jokey for reporting).

21 Sep 2005; Matthieu Sozeau :
Version bump (fixes #87864).

*extlib-1.3 (06 Feb 2005)

06 Feb 2005; Matthieu Sozeau -extlib-1.2.ebuild,
+extlib-1.4.ebuild:
Version bump.

*extlib-1.2 (21 Aug 2004)

21 Aug 2004; Matthieu Sozeau +metadata.xml,
+extlib-1.2.ebuild:
Extlib is a library whose purpose is to complete the ocaml standard library.
Intial submission by Bardur Arantsson , fixes bug
#60917. I added a doc use flag for building the HTML documentation, and
cleaned up the install process.

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

DIST extlib-1.5.1.tar.gz 70363 RMD160 0cd77387ed46429c478fdf44e05faedd9f960751 SHA1 e72ae90f53cc4dbed151d57e6004ab6e4acddc7f SHA256 637cf3331d49ba00e7ebdb762c2a231603fe0dd57ad45a6cde30884a5348525e
EBUILD extlib-1.5.1.ebuild 1199 RMD160 e1b8dee9236ef6d5b2e62369f00a9db25a0964ed SHA1 8acfd3246999a4888cabc9e8d526ab701ffb7120 SHA256 e36071d407ca43d27ed3d6bafa5d7b52157b455addbb3f29a4e6abf3e251b2ce
MISC ChangeLog 1597 RMD160 3db609ec8cd170c6acebce9b36dc411fd77f7b6f SHA1 f1395cc391893ab899866534d3d304758dab58d4 SHA256 690ec70b21df7382e172dc3c9d0114e6f62eef012b3f208660f2d2bb3bc9dc22
MISC metadata.xml 155 RMD160 dfaa057e679b01302a807c75a32a910098b26809 SHA1 94024f83dcacbb53e92be090dd0f994ec93dc90d SHA256 118048376ebb76f57628b0819f3de4856e73959c2578c88715d37ea2d1e0af81
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkgLUTcACgkQvFcC4BYPU0rhRQCgg0lpix+IQkD3WmuW0UFYL/rH
PhsAoIZaHh0g3sOBi51ZasvnG+VZu5GU
=7XA/
-----END PGP SIGNATURE-----

extlib-1.5.1.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/extlib/extlib-1.5.1.ebuild,v 1.4 2008/04/20 14:09:02 maekke Exp $

inherit findlib eutils

EAPI="1"

DESCRIPTION="Standard library extensions for O'Caml"
HOMEPAGE="http://code.google.com/p/ocaml-extlib/"
SRC_URI="http://ocaml-extlib.googlecode.com/files/${P}.tar.gz"
LICENSE="LGPL-2.1"
DEPEND=">=dev-lang/ocaml-3.07"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="doc +ocamlopt"

pkg_setup() {
if use ocamlopt && ! built_with_use --missing true dev-lang/ocaml ocamlopt; then
eerror "In order to build ${PN} with native code support from ocaml"
eerror "You first need to have a native code ocaml compiler."
eerror "You need to install dev-lang/ocaml with ocamlopt useflag on."
die "Please install ocaml with ocamlopt useflag"
fi
}

src_compile() {
emake all || die "failed to build"
if use ocamlopt; then
emake opt || die "failed to build"
fi

if use doc; then
emake doc || die "failed to create documentation"
fi
}

src_install () {
findlib_src_install

# install documentation
dodoc README.txt

if use doc; then
dohtml doc/*
fi
}

metadata.xml




ml