Portage is a package management system used by Gentoo Linux
# ChangeLog for dev-ml/res
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/res/ChangeLog,v 1.8 2008/04/13 18:16:46 aballier Exp $
13 Apr 2008; Alexis Ballier
remove old
12 Apr 2008; Tobias Scherbaum
ppc stable, bug #216966
11 Apr 2008; Markus Meier
amd64/x86 stable, bug #216966
*res-2.2.5 (04 Jan 2008)
04 Jan 2008; Alexis Ballier
version bump, allow to build without ocamlopt
09 Feb 2007; Diego Pettenò
Regenerate digest in Manifest2 format.
17 Feb 2005; Matthieu Sozeau
Add -j1, doesn't support parallel builds.
30 Sep 2004; Matthieu Sozeau
Mark stable on amd64, fixes bug #65091
*res-2.1.1 (21 Aug 2004)
21 Aug 2004; Matthieu Sozeau
+res-2.1.1.ebuild:
Res is a library of resizable structures (arrays, buffers...) in ocaml. Thanks
to Bardur Arantsson
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
DIST res-2.2.5.tar.bz2 33684 RMD160 767c73c2e83e7a2f592a03ca5091ce66fb04272c SHA1 b27c7d2673a6ec989edbb8af2d46aee20e6d33fa SHA256 66baf7fad87e0d57ce1f26aebcfa28dbcfabfb398e359541f8c0335122df0ac6
EBUILD res-2.2.5.ebuild 1470 RMD160 3cfba0d95f40cc77713753584b5ad1f44dcb4784 SHA1 bafad8d9918dadf932bf86c35d9bf054726ec603 SHA256 3f7eaff60182b3daffbbd66fbd4a4c3376105e4ecc4dc247ef46bfd0685cc280
MISC ChangeLog 1232 RMD160 68529916c560cead2e56bf12531b8233e616ccb5 SHA1 71dc9d4688bda38f2c697bf1f97cd63f10abf0ec SHA256 7963dd029da9b0701aac75dcfcf3940e5fb8387e2dd6798b0272edbb9a84f2bc
MISC metadata.xml 155 RMD160 dfaa057e679b01302a807c75a32a910098b26809 SHA1 94024f83dcacbb53e92be090dd0f994ec93dc90d SHA256 118048376ebb76f57628b0819f3de4856e73959c2578c88715d37ea2d1e0af81
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkgCThQACgkQvFcC4BYPU0rqAQCgzH3JYZx1JlvUPYMUBYUflNs5
HgwAoMA3dESdgYgbhFRUpbqYnn9fl+4T
=b9tC
-----END PGP SIGNATURE-----
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/res/res-2.2.5.ebuild,v 1.4 2008/04/12 20:19:35 dertobi123 Exp $
inherit findlib eutils
EAPI="1"
DESCRIPTION="Resizable Array and Buffer modules for O'Caml"
HOMEPAGE="http://ocaml.info/home/ocaml_sources.html"
SRC_URI="http://www.ocaml.info/ocaml_sources/${P}.tar.bz2"
LICENSE="LGPL-2.1"
DEPEND=">=dev-lang/ocaml-3.07"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="doc 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
if use doc; then
emake htdoc || die "failed to build documentation"
fi
}
src_install () {
use ocamlopt || export OCAMLFIND_INSTFLAGS="-optional"
findlib_src_install
# install documentation
dodoc README TODO VERSION Changes
if use doc; then
dohtml lib/doc/res/html/*
fi
if use examples; then
insinto /usr/share/doc/${PF}
doins -r examples
fi
}