Portage is a package management system used by Gentoo Linux
# ChangeLog for dev-ml/findlib
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/findlib/ChangeLog,v 1.38 2008/06/07 16:31:47 aballier Exp $
07 Jun 2008; Alexis Ballier
Update homepage and SRC_URI
01 Apr 2008; Alexis Ballier
-files/findlib-1.1.2_p1-sandbox.patch, -findlib-1.0.4-r1.ebuild,
-findlib-1.1.2_p1.ebuild:
remove old
10 Mar 2008; Steve Dibb
amd64 stable, bug 211966
09 Mar 2008; Alexis Ballier
Actually build and install the toolbox with tk useflag
04 Mar 2008; Raúl Porcel
alpha/ia64/sparc stable wrt #211966
04 Mar 2008; Brent Baude
stable ppc64, bug 211966
01 Mar 2008; Lars Weiler
stable ppc, bug 211966
01 Mar 2008; Christian Faulhammer
stable x86, bug 211966
01 Mar 2008; Jeroen Roovers
Stable for HPPA (bug #211966).
27 Jan 2008; Fabian Groffen
findlib-1.1.2_p1.ebuild, findlib-1.2.1.ebuild:
Dropped ppc-macos keyword, see you in prefix
18 Jan 2008; Alexis Ballier
restrict installsources, debugedit kills ocamlfind if compiled in bytecode...
02 Jan 2008; Alexis Ballier
Add support to build without ocamlopt
*findlib-1.2.1 (13 Nov 2007)
13 Nov 2007; Alexis Ballier
+findlib-1.2.1.ebuild:
version bump
*findlib-1.2 (12 Nov 2007)
12 Nov 2007; Alexis Ballier
version bump
30 Aug 2007; Christian Heim
Removing mattam from metadata due to his retirement (see #30021 for reference).
*findlib-1.1.2_p1 (14 Mar 2007)
14 Mar 2007; Alexis Ballier
+files/findlib-1.1.2_p1-sandbox.patch, +findlib-1.1.2_p1.ebuild:
Version bump
27 Dec 2006; Piotr Jaroszyński
findlib-1.0.4-r1.ebuild:
Fix multilib.
03 Nov 2006; Alexandre Buisse
findlib-1.0.4-r1.ebuild:
Change tcltk USE to tk (bug #17808).
06 Sep 2006; Thomas Cort
Stable on alpha.
17 Aug 2006; Jeroen Roovers
Stable for HPPA (bug #144120).
21 May 2006; Markus Rothe
Stable on ppc64
21 Apr 2006; Thomas Cort
Added ~alpha keyword wrt Bug #110858.
18 Mar 2006; Markus Rothe
Added ~ppc64
22 Feb 2006; Aron Griffis
Mark 1.0.4-r1 stable on ia64
21 Sep 2005; Matthieu Sozeau
Stable on ppc-macos.
30 Sep 2004; Matthieu Sozeau
Mark stable on amd64
*findlib-1.0.4-r1 (21 Aug 2004)
21 Aug 2004; Matthieu Sozeau
+findlib-1.0.4-r1.ebuild, -findlib-1.0.4.ebuild:
New revision for introduction of the findlib eclass (just checks that stublibs
is in ld.conf). Remove old versions.
09 Aug 2004; Michael Sterrett
header fix; tidy
*findlib-1.0.4 (08 Aug 2004)
08 Aug 2004; Matthieu Sozeau
Version bump, fix bug #51254. Thanks to Bardur Arantsson
for the update.
28 May 2004; Danny van Dyk
Marked -amd64 as dependencies aren't fulfilled anymore.
30 Mar 2004; Daniel Ahlberg
Adding amd64 keyword. Closing #44197.
23 Mar 2004; Matthieu Sozeau
Mark stable on ppc (long time i use it but forgot to mark it).
13 Mar 2004; David Holm
Added to ~ppc.
15 Feb 2004; Jason Wever
Added ~sparc keyword to fix dev-ml/ocaml-make's broken deps.
*findlib-0.8 (15 Dec 2002)
15 Dec 2002; George Shapovalov
findlib-0.8.ebuild, files/digest-findlib-0.8 :
initial release
OCaml tool to find/use non-standard packages.
ebuild submitted by Matthieu Sozeau
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
DIST findlib-1.2.1.tar.gz 158480 RMD160 c91939b94508764605a957852e5074f11895f2be SHA1 04af3e36ccaa4a5ba41773ee6118b825fd1dff90 SHA256 fe3db7c9f9707eb589e8f194ac4364f854e8a57aace826d59ee52cf9fa2a2a4e
EBUILD findlib-1.2.1.ebuild 2393 RMD160 337464ac7132b211750179125b7a2ef2d59b6f9e SHA1 71e5f69f309f46c1c976baa5a4a4562fa1f61247 SHA256 0c47d08ce882fef62f912560a1a625b2dc6f06df83899c18b7622994f096f260
MISC ChangeLog 4684 RMD160 0a5e83504ea070e5a91d0544f1bee09aa84889b4 SHA1 9586eb8ec03085fba9c295773741455af7e3d6ec SHA256 88c103fccfd0c696e5a6c47e16db22c17f3f4bb8bfb3c3e740e1ee21779f7465
MISC metadata.xml 156 RMD160 b85f5bc80861e3fb890d0c87457a549d5bdaa191 SHA1 3be740773dec616d1c3969afaf1571348e455fef SHA256 40d721e2107cc8aac043b574fdae94c9e31ae133bc8e275fbc0a56329b3f5cee
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkhKuAwACgkQvFcC4BYPU0qD5gCdG/+Fg2y847EVfzGsxBC2khGc
VsIAnjsW8+CqVN++Ph87WLyFd3UbroOT
=IaSv
-----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/findlib/findlib-1.2.1.ebuild,v 1.12 2008/06/07 16:31:47 aballier Exp $
inherit multilib eutils
EAPI="1"
IUSE="doc +ocamlopt tk"
RESTRICT="installsources"
DESCRIPTION="OCaml tool to find/use non-standard packages."
HOMEPAGE="http://projects.camlcity.org/projects/findlib.html"
SRC_URI="http://download.camlcity.org/download/${P}.tar.gz"
LICENSE="MIT X11"
SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
DEPEND=">=dev-lang/ocaml-3.07"
ocamlfind_destdir="/usr/$(get_libdir)/ocaml/site-packages"
stublibs="${ocamlfind_destdir}/stublibs"
pkg_setup()
{
if ( use tk && ! built_with_use dev-lang/ocaml tk ); then
eerror "It seems you don't have ocaml compiled with tk support"
eerror ""
eerror "The findlib toolbox requires ocaml be built with tk support."
eerror ""
die "Please make sure that ocaml is installed with tk support or remove the USE flag"
fi
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() {
local myconf
use tk && myconf="-with-toolbox"
./configure -bindir /usr/bin -mandir /usr/share/man \
-sitelib ${ocamlfind_destdir} \
-config ${ocamlfind_destdir}/findlib/findlib.conf \
${myconf} || die "configure failed"
emake all || die
if use ocamlopt; then
emake opt || die # optimized code
else
# If using bytecode we dont want to strip the binary as it would remove the
# bytecode and only leave ocamlrun...
export STRIP_MASK="*/bin/*"
fi
}
src_install() {
dodir `ocamlc -where`
emake prefix="${D}" install || die
dodir "${stublibs}"
cd "${S}/doc"
dodoc QUICKSTART README DOCINFO
use doc && dohtml -r ref-html guide-html
}
check_stublibs() {
local ocaml_stdlib=`ocamlc -where`
local ldconf="${ocaml_stdlib}/ld.conf"
if [ ! -e ${ldconf} ]
then
echo "${ocaml_stdlib}" > ${ldconf}
echo "${ocaml_stdlib}/stublibs" >> ${ldconf}
fi
if [ -z `grep -e ${stublibs} ${ldconf}` ]
then
echo ${stublibs} >> ${ldconf}
fi
}
pkg_postinst() {
check_stublibs
}