ChangeLog

# ChangeLog for dev-ml/pomap
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/pomap/ChangeLog,v 1.16 2008/04/13 18:15:26 aballier Exp $

13 Apr 2008; Alexis Ballier -pomap-2.9.4.ebuild:
remove old

12 Apr 2008; Tobias Scherbaum pomap-2.9.8.ebuild:
ppc stable, bug #216964

11 Apr 2008; Markus Meier pomap-2.9.8.ebuild:
amd64/x86 stable, bug #216964

*pomap-2.9.8 (04 Jan 2008)

04 Jan 2008; Alexis Ballier +pomap-2.9.8.ebuild:
version bump, allow to build without ocamlopt

09 Feb 2007; Diego Pettenò ChangeLog:
Regenerate digest in Manifest2 format.

22 Apr 2005; Simon Stelling pomap-2.9.4.ebuild:
stable on amd64

25 Sep 2004; Matthieu Sozeau pomap-2.9.4.ebuild:
Fix bug #65089 (unsupported parallel builds) and add ~amd64 as suggested.

31 Aug 2004; David Holm pomap-2.9.4.ebuild:
Added to ~ppc.

25 Aug 2004; Matthieu Sozeau -pomap-2.9.1.ebuild,
pomap-2.9.4.ebuild:
Remove old version, move to stable.

25 Aug 2004; Matthieu Sozeau pomap-2.9.4.ebuild:
Use findlib eclass.

*pomap-2.9.4 (08 Aug 2004)

08 Aug 2004; Matthieu Sozeau +pomap-2.9.4.ebuild:
Version bump, fixes bug #56910.

*pomap-2.9.1 (24 Apr 2003)

24 Apr 2003; George Shapovalov pomap-2.9.1.ebuild, files/{digest-pomap-2.9.1} :
initial release (#17520)
Partially Ordered Map ADT for O'Caml
ebuild submitted by Bardur Arantsson

Manifest

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

DIST pomap-2.9.8.tar.bz2 36645 RMD160 3e3e485eb31311bf1d003d52691196156f055765 SHA1 20dea3152e80a91b90f5e039ed122d14064dcc3c SHA256 8cea14b604b261cdb8a16b1a90153cbfb19c958e3466a8556ca50bfeea64b5ce
EBUILD pomap-2.9.8.ebuild 1353 RMD160 f858fbd5c0168a3814035a3d431b4d66991fda2b SHA1 30b6160aba18cf58738e51393e299af374547556 SHA256 91c645baa6ca54198cee0aa2914c6b5b545167d89d264927b1d21501c3e7ab84
MISC ChangeLog 1698 RMD160 f4715bd05cc2b936aad940da214bd67f46bc1d01 SHA1 c3ae636d7d2203f4d305cd76f08cdb7cdbd18268 SHA256 802881bc855d82ed2ad0b6eebe465075eb35e0030a66dd29b23d0535da6e4c25
MISC metadata.xml 157 RMD160 30153301a2a5cca5547a6e47941aae2895837613 SHA1 66e87d50f913856e703f3ee29841b03332af40db SHA256 d14b8b08774f2a40f42d70ff40b1b4f1c4725e7095d702143a32909553eac799
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkgCTcMACgkQvFcC4BYPU0qpIwCfcKUFNfcCrJ5FWKQTfaSWRuD8
xEgAnjP1++txqYb79AqkZf796DFCQ1Xk
=PsXp
-----END PGP SIGNATURE-----

metadata.xml




ml

pomap-2.9.8.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/pomap/pomap-2.9.8.ebuild,v 1.3 2008/04/12 20:11:38 dertobi123 Exp $

inherit findlib eutils

EAPI="1"

DESCRIPTION="Partially Ordered Map ADT for O'Caml"
HOMEPAGE="http://www.ocaml.info/home/ocaml_sources.html"
LICENSE="LGPL-2.1"
DEPEND=">=dev-lang/ocaml-3.06"
SRC_URI="http://www.ocaml.info/ocaml_sources/${P}.tar.bz2"

SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="examples +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() {
cd "${S}/lib"
emake -j1 byte-code-library || die "failed to build byte code library"
if use ocamlopt; then
emake -j1 native-code-library || die "failed to built nativde code library"
fi
}

src_install () {
use ocamlopt || export OCAMLFIND_INSTFLAGS="-optional"
findlib_src_install

# install documentation
dodoc README VERSION Changes

#install examples
if use examples; then
insinto /usr/share/doc/${PF}
doins -r examples
fi
}