summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2012-06-10 20:17:01 +0000
committerAlexis Ballier <aballier@gentoo.org>2012-06-10 20:17:01 +0000
commit3cd05f5992f1471051dbbce67d7492a31b66efa1 (patch)
treea052eecf43fc0c84f92f1464b6e3afa9f12c1046 /dev-ml
parentDrop '--disable-darwin-user' from configure params. Upstream does not export ... (diff)
downloadhistorical-3cd05f5992f1471051dbbce67d7492a31b66efa1.tar.gz
historical-3cd05f5992f1471051dbbce67d7492a31b66efa1.tar.bz2
historical-3cd05f5992f1471051dbbce67d7492a31b66efa1.zip
version bump
Package-Manager: portage-2.2.0_alpha110/cvs/Linux x86_64
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/findlib/ChangeLog7
-rw-r--r--dev-ml/findlib/Manifest10
-rw-r--r--dev-ml/findlib/findlib-1.3.2.ebuild77
3 files changed, 89 insertions, 5 deletions
diff --git a/dev-ml/findlib/ChangeLog b/dev-ml/findlib/ChangeLog
index 6bed6f14073c..b0ecf2c3f403 100644
--- a/dev-ml/findlib/ChangeLog
+++ b/dev-ml/findlib/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ml/findlib
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/findlib/ChangeLog,v 1.85 2012/05/24 10:48:04 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/findlib/ChangeLog,v 1.86 2012/06/10 20:17:01 aballier Exp $
+
+*findlib-1.3.2 (10 Jun 2012)
+
+ 10 Jun 2012; Alexis Ballier <aballier@gentoo.org> +findlib-1.3.2.ebuild:
+ version bump
24 May 2012; Alexis Ballier <aballier@gentoo.org> findlib-1.3.1.ebuild:
keyword ~amd64-fbsd
diff --git a/dev-ml/findlib/Manifest b/dev-ml/findlib/Manifest
index 838b23ce588c..de784ef71028 100644
--- a/dev-ml/findlib/Manifest
+++ b/dev-ml/findlib/Manifest
@@ -3,14 +3,16 @@ Hash: SHA1
DIST findlib-1.2.7.tar.gz 163452 RMD160 d374a9dcfee69e2428e904a77882616dd4fe61e7 SHA1 bb99da86a454ec755c9c5e4a464013be5c766801 SHA256 c920b129e48b3b313e67b915a078ab06a9ddd2e072f3353edfa74144f256029b
DIST findlib-1.3.1.tar.gz 229719 RMD160 c8a609d74df7dd87850ae34c88307af3636b20bc SHA1 996d8ff4372e178a9fb18b690bb9746847763d82 SHA256 9e4b063c3b10f36006521fb4ef457d87c2a0684a55e76c1776fbce707422b978
+DIST findlib-1.3.2.tar.gz 230556 RMD160 74045383f9e1f46c56dd2596199f8f7071705960 SHA1 3850c6732fd3b50b935806859dc7fe481112c810 SHA256 056450c2449aee2a61335cfa1d96f2fb1a14ad50bcd99d7ddf9308307ba90bc3
EBUILD findlib-1.2.7.ebuild 1750 RMD160 57d645ec0fd72ea7d35bbc0189ff91a565922f84 SHA1 f49fe75d4835dc1c589c2178ac619ce15017b0ed SHA256 82c503417402391ec953fa234591a7ceb999f9f57b5f6af154bba3b0a6f3e034
EBUILD findlib-1.3.1.ebuild 1775 RMD160 1cf25f6b7005cae66fd6353d06899de4a6bd997f SHA1 1eeefd1218ecb60d80161ec72ceeb9f158c781f9 SHA256 9c3b33a6affb628259d384ae9a34433fa26715ef29a87e58d2c1e2b4b90bf02e
-MISC ChangeLog 9886 RMD160 79e9d9b2e08ee0be42b2069b5a8b976fd411d595 SHA1 2c16b571b0fe4fcef13f8437a38658dc0b348559 SHA256 943544de2e5351f1fb41976545ea3d7e399a49f82cda0c5e8b905654696e0a71
+EBUILD findlib-1.3.2.ebuild 1783 RMD160 a32b6b497ba0d3651bd95e0ee527d0b303b50e16 SHA1 302f84657bb477bce7989200cda1cb286a9c085c SHA256 0fdbeb555c2307d626fb017a7befdc90328d10a37f2e0803d3d7918270b95536
+MISC ChangeLog 10007 RMD160 3e9e988e7b5db36346916451ad3a1b2d009da97a SHA1 38c9de7c2a2e9a845ff6b93a4b056ab54a65514d SHA256 e1b8da9d4580160a1159e09e1735fa8f70339e00e842bf8240eae724c4891c9d
MISC metadata.xml 156 RMD160 b85f5bc80861e3fb890d0c87457a549d5bdaa191 SHA1 3be740773dec616d1c3969afaf1571348e455fef SHA256 40d721e2107cc8aac043b574fdae94c9e31ae133bc8e275fbc0a56329b3f5cee
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEARECAAYFAk++EekACgkQvFcC4BYPU0qCvgCgiqdTKeIdk35nzALXKsenwaVN
-Yo0AoJ8ZQKfWTw4ec4pwWE2627WWNi64
-=Aou/
+iEYEARECAAYFAk/VAMMACgkQvFcC4BYPU0oi6ACgwkRRozhpwwzpTaz1r9VjtMTH
+a0kAn1W9NbGmnfMmZ3DZAy2Vaef/nNBS
+=cYd9
-----END PGP SIGNATURE-----
diff --git a/dev-ml/findlib/findlib-1.3.2.ebuild b/dev-ml/findlib/findlib-1.3.2.ebuild
new file mode 100644
index 000000000000..bd605f196272
--- /dev/null
+++ b/dev-ml/findlib/findlib-1.3.2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/findlib/findlib-1.3.2.ebuild,v 1.1 2012/06/10 20:17:01 aballier Exp $
+
+EAPI=2
+
+inherit multilib
+
+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"
+IUSE="doc +ocamlopt tk"
+
+LICENSE="MIT"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
+
+DEPEND=">=dev-lang/ocaml-4.00.0_alpha[ocamlopt?,tk?]"
+RDEPEND="${DEPEND}"
+
+ocamlfind_destdir="/usr/$(get_libdir)/ocaml"
+stublibs="${ocamlfind_destdir}/stublibs"
+
+src_configure() {
+ 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"
+}
+
+src_compile() {
+ 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
+}