From: "Alexis Ballier" <aballier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/findlib/
Date: Mon, 3 Oct 2016 17:17:24 +0000 (UTC) [thread overview]
Message-ID: <1475515038.4facdcf3c790bcac6d699f8e5da263c7477b4466.aballier@gentoo> (raw)
commit: 4facdcf3c790bcac6d699f8e5da263c7477b4466
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 3 17:17:11 2016 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Mon Oct 3 17:17:18 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4facdcf3
dev-ml/findlib: bump to 1.6.3
Package-Manager: portage-2.3.1
dev-ml/findlib/Manifest | 1 +
dev-ml/findlib/findlib-1.6.3.ebuild | 75 +++++++++++++++++++++++++++++++++++++
2 files changed, 76 insertions(+)
diff --git a/dev-ml/findlib/Manifest b/dev-ml/findlib/Manifest
index f429cb8..4c32d7e 100644
--- a/dev-ml/findlib/Manifest
+++ b/dev-ml/findlib/Manifest
@@ -2,3 +2,4 @@ DIST findlib-1.4.tar.gz 231526 SHA256 6e4065e5d79d31176ec213ff94599c4eae17c3904c
DIST findlib-1.5.6.tar.gz 250865 SHA256 7743b3dcaf8a344c882e89f61601f7f086d46c0f2ea4fcc3e54069236825e3f8 SHA512 18d23861a25b1508cb419af4cdd6e3cd83d51bef259f162c86b91460cf3dad75d6c2fc11173f60fe36b61ce3f81b78e69344f093adb9a82c36256d95180e93d8 WHIRLPOOL eb374e60c3f2fcc6172ec08803fbc5b0e83ea0d38644b4c13cb3d27b3dc13c7240a4f49a9ee51f9465ac6ff6075140c3e98b3eb0ea48690f260f139f37dfb63c
DIST findlib-1.6.1.tar.gz 254797 SHA256 411c816e89d17d1b5b454e3d42f9b261cf929fc468f9f6e2787273ab69784b09 SHA512 b781d117ff033e8b91b6610c562382c5868a25ceed51f0a5947a77bfdd5825723ad32adcbe1636d4f7952d4c7535093f5c8ad3b954bebb1dcf4738f7a16d3ef8 WHIRLPOOL 1c3ed89aeb53cd95c0eaa82f1df8c364ad79403cf89ca19245620819998353da089daf5d3377919f2b4676c48f4d926d384e5a80312884f84e1efc41307f88fd
DIST findlib-1.6.2.tar.gz 253764 SHA256 3917904342ffbb66089f9fec1adc023b8854178bc21f303e4cbf96b8b164c946 SHA512 8c4098e6956530bc88d20a1b91512c68368e8a866398ce4d504afe3f71e81124c01644ba31ff97da6e61e7410328b533fb1d31a513166231047dab1933179fc4 WHIRLPOOL a980082607ac97c738ef0899ba08af81eaa45c09a0e96f41ddfb3faaf25c77f133a3063f45a9393819e76b839b17bb10fe71613e83bfc943b4988511547eaa6b
+DIST findlib-1.6.3.tar.gz 254512 SHA256 0f989f3f8ea69838423331c34c72a81e5422038e88c2a2bf10bc6e89869cab7e SHA512 ab23eeef3ec301f1a429934a309734386169d31d16a82706a45d9914b1fdc50f04b4fdf86f9436be3d7f0c8869b2cd9a9e07c78247e12eabdfe0738861e22035 WHIRLPOOL ae0fd2ae107d0074bbf8aefffa0facd7d9b892fc3408f94911522866d0bf8e9d7ac9e20da92e0a20b2f6cdf2f26dac6f86fd7c97231119eef890306166bcf05b
diff --git a/dev-ml/findlib/findlib-1.6.3.ebuild b/dev-ml/findlib/findlib-1.6.3.ebuild
new file mode 100644
index 00000000..f94705f
--- /dev/null
+++ b/dev-ml/findlib/findlib-1.6.3.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit multilib eutils
+
+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 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
+
+DEPEND=">=dev-lang/ocaml-4.02.3-r1:=[ocamlopt?]
+ tk? ( dev-ml/labltk:= )"
+RDEPEND="${DEPEND}"
+
+ocamlfind_destdir="${EPREFIX}/usr/$(get_libdir)/ocaml"
+stublibs="${ocamlfind_destdir}/stublibs"
+
+src_prepare() {
+ epatch "${FILESDIR}/externalmeta3.patch"
+}
+
+src_configure() {
+ local myconf
+ use tk && myconf="-with-toolbox"
+ ./configure -bindir "${EPREFIX}"/usr/bin -mandir "${EPREFIX}"/usr/share/man \
+ -sitelib ${ocamlfind_destdir} \
+ -config ${ocamlfind_destdir}/findlib/findlib.conf \
+ -no-custom \
+ ${myconf} || die "configure failed"
+}
+
+src_compile() {
+ emake -j1 all
+ if use ocamlopt; then
+ emake -j1 opt # optimized code
+ fi
+}
+
+src_install() {
+ emake prefix="${D}" install
+
+ dodir "${stublibs#${EPREFIX}}"
+
+ 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
+}
next reply other threads:[~2016-10-03 17:17 UTC|newest]
Thread overview: 63+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-03 17:17 Alexis Ballier [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-18 7:03 [gentoo-commits] repo/gentoo:master commit in: dev-ml/findlib/ Alfredo Tupone
2024-06-01 21:27 Alfredo Tupone
2023-04-03 19:08 Arthur Zamarin
2023-04-02 16:22 Sam James
2023-04-01 7:00 Alfredo Tupone
2023-03-26 7:44 Alfredo Tupone
2023-03-25 19:26 Arthur Zamarin
2023-03-25 12:58 Arthur Zamarin
2023-03-22 10:16 Sam James
2023-03-22 7:35 Sam James
2023-03-22 7:35 Sam James
2023-03-22 3:46 Sam James
2023-02-15 18:38 Matt Turner
2023-01-07 11:10 Maciej Barć
2022-12-04 17:28 WANG Xuerui
2022-07-22 2:26 Maciej Barć
2022-07-22 2:26 Maciej Barć
2022-01-29 20:36 Alfredo Tupone
2022-01-07 20:00 Alfredo Tupone
2021-07-20 18:18 Alfredo Tupone
2021-01-26 18:22 Alfredo Tupone
2021-01-17 17:38 Sam James
2021-01-17 17:38 Sam James
2020-12-20 18:43 Sam James
2020-12-17 14:50 Aaron Bauman
2020-12-17 12:10 Sam James
2020-12-17 6:44 Sam James
2020-12-02 23:31 Thomas Deutschmann
2020-12-02 22:32 Sam James
2020-12-02 14:58 Sam James
2020-11-29 17:11 Sergei Trofimovich
2020-11-28 18:37 Aaron Bauman
2020-03-31 17:51 Mart Raudsepp
2020-02-11 11:30 Agostino Sarubbo
2020-02-11 11:09 Agostino Sarubbo
2020-02-11 10:58 Agostino Sarubbo
2020-02-11 10:55 Agostino Sarubbo
2020-02-11 9:52 Agostino Sarubbo
2020-02-10 18:10 Agostino Sarubbo
2020-02-09 20:44 Miroslav Šulc
2019-12-27 18:07 Jason A. Donenfeld
2018-04-02 6:23 Matt Turner
2017-06-18 15:14 Alexis Ballier
2017-02-12 19:57 Markus Meier
2017-02-08 18:10 Alexis Ballier
2017-01-29 23:02 Jeroen Roovers
2017-01-26 15:28 Agostino Sarubbo
2017-01-26 11:00 Agostino Sarubbo
2017-01-26 10:22 Agostino Sarubbo
2017-01-25 19:21 Tobias Klausmann
2017-01-25 15:52 Agostino Sarubbo
2017-01-25 15:35 Agostino Sarubbo
2017-01-25 14:29 Agostino Sarubbo
2017-01-14 17:14 Mikle Kolyada
2016-03-01 18:47 Alexis Ballier
2016-02-04 17:24 Tobias Klausmann
2015-11-21 14:26 Markus Meier
2015-11-12 11:21 Agostino Sarubbo
2015-11-11 9:54 Agostino Sarubbo
2015-11-10 12:01 Agostino Sarubbo
2015-11-03 4:14 Jeroen Roovers
2015-11-01 11:12 Jeroen Roovers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1475515038.4facdcf3c790bcac6d699f8e5da263c7477b4466.aballier@gentoo \
--to=aballier@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox