public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "José María Alonso" <nimiux@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/ffcall/
Date: Tue, 10 Apr 2018 16:40:43 +0000 (UTC)	[thread overview]
Message-ID: <1523378433.81057e83b3f4f4d8829f8f2156355457dfc2aa6f.nimiux@gentoo> (raw)

commit:     81057e83b3f4f4d8829f8f2156355457dfc2aa6f
Author:     Chema Alonso Josa <nimiux <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 10 16:40:33 2018 +0000
Commit:     José María Alonso <nimiux <AT> gentoo <DOT> org>
CommitDate: Tue Apr 10 16:40:33 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81057e83

dev-libs/ffcall: Version bump to 2.1

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-libs/ffcall/Manifest          |  1 +
 dev-libs/ffcall/ffcall-2.1.ebuild | 64 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)

diff --git a/dev-libs/ffcall/Manifest b/dev-libs/ffcall/Manifest
index 4dad0698639..bc3bc2c5991 100644
--- a/dev-libs/ffcall/Manifest
+++ b/dev-libs/ffcall/Manifest
@@ -1,2 +1,3 @@
 DIST libffcall-1.13.tar.gz 985185 BLAKE2B 78d9b9f046185a9a658ed2864167c64e373359e709cde7abc9360b21959c015b201423b46b8048120b98edfd0047dd20184c5f543c7d1d33a7ffad983036c043 SHA512 c059fa89eb3e85bad22d045de074bfc88fae42454821e10905ffd67209b6e6ea44eeab120b869696f77b816aacb9a5af3e4b51c640512e876df1b6da6f296bd4
 DIST libffcall-2.0.tar.gz 938605 BLAKE2B 1e6fcae8f1dcaad52ca84d0dcf97f8dde5bb8153244bbb9047dbab5f6a1dade0a00f149507e6bb14225369a7081cadb069d23c8bc7cdcfaec937d7b9d47d08c1 SHA512 d75aa1df97b14692a9137745bae5b24c4d8f739cb1c7f854e7ed47e4a77a49759122abd6b0e445efa56381f47932c13cd21a154b2783649afb9c7a39e73fea04
+DIST libffcall-2.1.tar.gz 943235 BLAKE2B ae82663174db084e830b6ff77ceedf8641b3edeb7800952ac4e2772d9033da3e45f46159e6fdae86615dc69fceba39f48d6c75e6cbd41be98f1986fa69d50b3b SHA512 da73375fb45b7d764c06437a517c2a90abf7d5de6afe0a8ca19e6dfafd2a8c7107e39d230ecbc8edfdd5926b16a0c13b7bb9319287047c47de1241b2f6ae805e

diff --git a/dev-libs/ffcall/ffcall-2.1.ebuild b/dev-libs/ffcall/ffcall-2.1.ebuild
new file mode 100644
index 00000000000..b4762103c80
--- /dev/null
+++ b/dev-libs/ffcall/ffcall-2.1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils flag-o-matic toolchain-funcs
+
+MY_PV="libffcall-${PV}"
+
+DESCRIPTION="Build foreign function call interfaces in embedded interpreter"
+HOMEPAGE="https://www.gnu.org/software/libffcall/"
+SRC_URI="mirror://gnu/libffcall/${MY_PV}.tar.gz"
+
+# "Ffcall is under GNU GPL. As a special exception, if used in GNUstep
+# or in derivate works of GNUstep, the included parts of ffcall are
+# under GNU LGPL." -ffcall author
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE=""
+
+S=${WORKDIR}/${MY_PV}
+
+DEPEND=""
+RDEPEND=""
+
+src_prepare() {
+	# The build system is a strange mix of autogenerated
+	# files and manual tweaks on top. Uses $CFLAGS / $LDFLAGS randomly.
+	# We are adding them consistently here and a bit over the top:
+	# bugs: #334581
+
+	for mfi in {,*/,*/*/,}Makefile.in
+	do
+		elog "Patching '${mfi}'"
+		# usually uses only assembler here, but -march=
+		# and -Wa, are a must to pass here.
+		sed -e 's/$(CC) /&$(CFLAGS) /g' \
+			-i "${mfi}" || die
+	done
+	eapply_user
+}
+
+src_configure() {
+	append-flags -fPIC
+
+	# Doc goes in datadir
+	econf \
+		--datadir="${EPREFIX}"/usr/share/doc/${PF} \
+		--enable-shared \
+		--disable-static
+}
+
+src_compile() {
+	# TODO. Remove -j1
+	emake -j1
+}
+
+src_install() {
+	dodoc NEWS README
+	dodir /usr/share/man
+	default
+	prune_libtool_files
+}


             reply	other threads:[~2018-04-10 16:40 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-10 16:40 José María Alonso [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-21 13:47 [gentoo-commits] repo/gentoo:master commit in: dev-libs/ffcall/ Jakov Smolić
2024-11-18 11:11 Sam James
2024-11-18 11:11 Sam James
2024-11-18 11:11 Sam James
2024-11-18 11:11 Sam James
2024-11-18  9:36 Sam James
2024-05-02  4:32 Sam James
2022-08-29 18:39 Andreas Sturmlechner
2022-06-23 19:50 Arthur Zamarin
2022-05-14 21:52 Jakov Smolić
2022-04-28 15:05 Jakov Smolić
2022-03-10 10:10 Jakov Smolić
2022-03-10  9:13 Agostino Sarubbo
2022-03-10  9:13 Agostino Sarubbo
2022-03-10  9:12 Agostino Sarubbo
2022-03-10  9:03 Jakov Smolić
2022-02-17 11:00 Jakov Smolić
2021-11-19  8:34 Sam James
2020-03-19 22:34 Sergei Trofimovich
2018-05-28  9:13 José María Alonso
2018-05-26  9:28 Mikle Kolyada
2018-05-14 21:19 Tobias Klausmann
2018-05-14  0:16 Aaron Bauman
2018-05-13 22:06 Thomas Deutschmann
2018-05-11 19:21 Sergei Trofimovich
2018-05-10 22:43 Sergei Trofimovich
2017-12-16 16:36 José María Alonso
2017-12-16 16:32 José María Alonso
2017-12-16 16:25 José María Alonso
2017-12-16 10:31 Tobias Klausmann
2017-10-26 20:30 Thomas Deutschmann
2017-10-22 21:42 Tobias Klausmann
2017-10-19 20:55 Sergei Trofimovich
2017-10-18 21:28 Sergei Trofimovich
2017-10-18 21:21 Sergei Trofimovich
2017-09-14 15:41 José María Alonso
2017-07-14  7:45 Sergei Trofimovich
2017-07-02 17:05 Alexis Ballier
2017-06-30  7:32 José María Alonso
2017-06-27 10:03 José María Alonso
2017-06-12  8:58 Michael Palimaka

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=1523378433.81057e83b3f4f4d8829f8f2156355457dfc2aa6f.nimiux@gentoo \
    --to=nimiux@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