public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/camlidl/
Date: Fri, 28 Jan 2022 06:54:15 +0000 (UTC)	[thread overview]
Message-ID: <1643352844.433d3bbe432eb45f831fea70d2c47d2f8f078449.tupone@gentoo> (raw)

commit:     433d3bbe432eb45f831fea70d2c47d2f8f078449
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 28 06:54:04 2022 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Jan 28 06:54:04 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=433d3bbe

dev-ml/camlidl: 1.09 bump

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ml/camlidl/Manifest            |  1 +
 dev-ml/camlidl/camlidl-1.09.ebuild | 64 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)

diff --git a/dev-ml/camlidl/Manifest b/dev-ml/camlidl/Manifest
index 812a3761c903..fe60cb01eec5 100644
--- a/dev-ml/camlidl/Manifest
+++ b/dev-ml/camlidl/Manifest
@@ -1 +1,2 @@
 DIST camlidl-1.05.tar.gz 100640 BLAKE2B 38cbcebd43ced26c44803608aabdacfbd33734357097a542ee2558223b9699d89cf7be388feba59630b10e4dc3977bffd08c669d3cf676d2136f54a6a8d52aab SHA512 e8857aca818a06f8c861e5f55dddd7e8e3ab1efae51647534460b4f092166709d86c6de1215c792a0489d668d72064ccfb7635e9a6d3854cd5a62f74541a9d18
+DIST camlidl109.tar.gz 125697 BLAKE2B c42e418525b9681a0e7042aea46fb581a1ffa93be416a9214325883407a62bcad7e8fd7a20fd997640deb42ddca394605f5569bc8f363721b8955629459ff49e SHA512 6cab1fa6bc2afba9b97874520eed2887c4fd341b59735854b120aa1ec8822710d9ebfadd1fecff56e629d4a1af7ee73befe6440c5462493f8408bdae8519a1fa

diff --git a/dev-ml/camlidl/camlidl-1.09.ebuild b/dev-ml/camlidl/camlidl-1.09.ebuild
new file mode 100644
index 000000000000..2861e48e26d7
--- /dev/null
+++ b/dev-ml/camlidl/camlidl-1.09.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="CamlIDL is a stub code generator for using C/C++ libraries from O'Caml"
+HOMEPAGE="http://caml.inria.fr/camlidl/"
+SRC_URI="https://github.com/xavierleroy/${PN}/archive/${PN}$(ver_rs 0-1 '').tar.gz"
+
+LICENSE="QPL-1.0 LGPL-2"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+
+DEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt]"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"/${PN}-${PN}$(ver_rs 0-1 '')
+
+PATCHES=(
+	"${FILESDIR}/nowarn.patch"
+)
+
+src_prepare() {
+	sed -i \
+		-e "s|ar rc|$(tc-getAR) rc|g" \
+		runtime/Makefile.unix \
+		|| die
+	default
+}
+
+src_compile() {
+	# Use the UNIX makefile
+	libdir=$(ocamlc -where || die)
+
+	sed -i -e "s|OCAMLLIB=.*|OCAMLLIB=${libdir}|" config/Makefile.unix || die
+	sed -i -e "s|BINDIR=.*|BINDIR=${EPREFIX}/usr/bin|" config/Makefile.unix || die
+	ln -s Makefile.unix config/Makefile || die
+
+	# Make
+	emake -j1 RANLIB="$(tc-getRANLIB)"
+}
+
+src_test() {
+	einfo "Running tests..."
+	cd tests || die
+	emake CCPP="$(tc-getCXX)" CC="$(tc-getCC)"
+}
+
+src_install() {
+	libdir=$(ocamlc -where || die)
+	dodir "${libdir#${EPREFIX}}"/caml
+
+	dodir /usr/bin
+	# Install
+	emake BINDIR="${ED}/usr/bin" OCAMLLIB="${D}${libdir}" RANLIB="$(tc-getRANLIB)" install
+
+	# Add package header
+	sed -e "s/@VERSION/${P}/g" "${FILESDIR}/META.camlidl" >	"${D}${libdir}/META.camlidl" || die
+
+	# Documentation
+	dodoc README Changes
+}


             reply	other threads:[~2022-01-28  6:54 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-28  6:54 Alfredo Tupone [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-15 15:25 [gentoo-commits] repo/gentoo:master commit in: dev-ml/camlidl/ Arthur Zamarin
2024-06-16 13:58 Alfredo Tupone
2024-05-31  7:13 Alfredo Tupone
2023-03-17  2:29 Sam James
2023-03-17  2:29 Sam James
2023-01-19 21:27 Alfredo Tupone
2023-01-19 21:18 Alfredo Tupone
2022-12-04 21:17 Alfredo Tupone
2022-10-16 19:59 Alfredo Tupone
2022-02-01 20:18 Alfredo Tupone
2022-01-24 13:31 Alfredo Tupone
2022-01-22 13:51 Alfredo Tupone
2015-08-26 14:23 Mikle Kolyada
2015-08-16 23:03 Mikle Kolyada

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=1643352844.433d3bbe432eb45f831fea70d2c47d2f8f078449.tupone@gentoo \
    --to=tupone@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