1 |
commit: f1c6faac806833ebf5b8cfe56a207dc70c8524eb |
2 |
Author: Chema Alonso Josa <nimiux <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 27 10:02:50 2017 +0000 |
4 |
Commit: José María Alonso <nimiux <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 27 10:03:14 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1c6faac |
7 |
|
8 |
dev-libs/ffcall: Bumps version to 1.13. Updates metadata |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.1 |
11 |
|
12 |
dev-libs/ffcall/Manifest | 1 + |
13 |
dev-libs/ffcall/ffcall-1.13.ebuild | 76 ++++++++++++++++++++++++++++++++++++++ |
14 |
dev-libs/ffcall/metadata.xml | 5 ++- |
15 |
3 files changed, 81 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/dev-libs/ffcall/Manifest b/dev-libs/ffcall/Manifest |
18 |
index efd1fbe85f4..f724210eedf 100644 |
19 |
--- a/dev-libs/ffcall/Manifest |
20 |
+++ b/dev-libs/ffcall/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST clisp-2.41.tar.bz2 8319471 SHA256 1e5f8d9b04024ae072536ae3271075c1a422c02d3997a729a6b00912ed2ae323 SHA512 638417834cc8b81a893ea98801d8ec3f6e591062bf799a1462fc36ceb3fa0107eb1c55e335cd32e1f9d931692e806d0c59c7557cfaf3af9cb00349b715111489 WHIRLPOOL aaa8a42627621ffc19e527634f0a0f769ffb804132ab29cbe4ca592db03cc10621b968f279f5ba2a92018e16c617f34ddf2ddfbb9993e30b54c8bce643af307a |
23 |
DIST ffcall-1.10.tar.gz 914870 SHA256 6f1b5b8fc84b2c0051637fb1e4e4f8b975f5f98bff8fe053c1992347baa4983d SHA512 dceb620907adae5bbbb52cf2d0b0c829242ad22adceb3186b7a887b7ba49e28b607c30179de6b5a0c46a90bd52f9963ce503ca0c69bc3ecf41e3556df094ddca WHIRLPOOL 8f90c8415197ff6d0176b3e95fe8455c0f242264666749ca8228c83df5275fb8c2404a218d0b5170386ad022bc729014cb81b11570e29855305a9efdbfb769d3 |
24 |
+DIST libffcall-1.13.tar.gz 985185 SHA256 1707ce707dbbf57f1bbe9aa56929c0da866046b0d5a26eb0d96d9f0bb29bbce7 SHA512 c059fa89eb3e85bad22d045de074bfc88fae42454821e10905ffd67209b6e6ea44eeab120b869696f77b816aacb9a5af3e4b51c640512e876df1b6da6f296bd4 WHIRLPOOL e79a5eaa0a6d15f81ecac2848dbd57cfc7f05551fbeaacd57b532c07d00778c48834377d3f04a2fedf6009b947786bada1d85ac95e0b7f6a5865981f22fd73a3 |
25 |
|
26 |
diff --git a/dev-libs/ffcall/ffcall-1.13.ebuild b/dev-libs/ffcall/ffcall-1.13.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..e2514f4f1ea |
29 |
--- /dev/null |
30 |
+++ b/dev-libs/ffcall/ffcall-1.13.ebuild |
31 |
@@ -0,0 +1,76 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+inherit eutils flag-o-matic toolchain-funcs |
38 |
+ |
39 |
+MY_PV="libffcall-${PV}" |
40 |
+ |
41 |
+DESCRIPTION="foreign function call libraries" |
42 |
+HOMEPAGE="https://www.gnu.org/software/libffcall/" |
43 |
+SRC_URI="http://ftp.gnu.org/gnu/libffcall/${MY_PV}.tar.gz" |
44 |
+ |
45 |
+# "Ffcall is under GNU GPL. As a special exception, if used in GNUstep |
46 |
+# or in derivate works of GNUstep, the included parts of ffcall are |
47 |
+# under GNU LGPL." -ffcall author |
48 |
+LICENSE="GPL-2+" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
51 |
+IUSE="" |
52 |
+ |
53 |
+S=${WORKDIR}/${MY_PV} |
54 |
+ |
55 |
+DEPEND="" |
56 |
+RDEPEND="" |
57 |
+ |
58 |
+src_prepare() { |
59 |
+ epatch "${FILESDIR}"/${PN}-make-jN.patch |
60 |
+ |
61 |
+ # The build system is a strange mix of autogenerated |
62 |
+ # files and manual tweaks on top. Uses $CFLAGS / $LDFLAGS randomly. |
63 |
+ # We are adding them consistently here and a bit over the top: |
64 |
+ # bugs: #334581 |
65 |
+ |
66 |
+ for mfi in {,*/,*/*/,}Makefile.in |
67 |
+ do |
68 |
+ elog "Patching '${mfi}'" |
69 |
+ # usually uses only assembler here, but -march= |
70 |
+ # and -Wa, are a must to pass here. |
71 |
+ sed -e 's/$(CC) /&$(CFLAGS) /g' \ |
72 |
+ -i "${mfi}" || die |
73 |
+ |
74 |
+ # usually uses '$(CC) ... -o something' for linking |
75 |
+ sed -e 's/\($(CC) .* \)-o /\1 $(LDFLAGS) -o /g' \ |
76 |
+ -i "${mfi}" || die |
77 |
+ done |
78 |
+ eapply_user |
79 |
+} |
80 |
+ |
81 |
+src_configure() { |
82 |
+ append-flags -fPIC |
83 |
+ append-flags $(test-flags-CC -Wa,--noexecstack) #253963 |
84 |
+ |
85 |
+ # Doc goes in datadir |
86 |
+ econf \ |
87 |
+ --datadir="${EPREFIX}"/usr/share/doc/${PF} \ |
88 |
+ --enable-shared \ |
89 |
+ --disable-static |
90 |
+} |
91 |
+ |
92 |
+src_compile() { |
93 |
+ # Because CHOST is set to (for example) |
94 |
+ # alphaev67-unknown-linux-gnu, CPU gets set to alphaev67 which |
95 |
+ # doesn't work in the Makefile (29 Jan 2004 agriffis) |
96 |
+ local cpu_setting |
97 |
+ [[ "${ARCH}" == "alpha" ]] && cpu_setting='CPU=alpha' |
98 |
+ |
99 |
+ emake ${cpu_setting} |
100 |
+} |
101 |
+ |
102 |
+src_install() { |
103 |
+ dodoc NEWS README |
104 |
+ dodir /usr/share/man |
105 |
+ default |
106 |
+ prune_libtool_files |
107 |
+} |
108 |
|
109 |
diff --git a/dev-libs/ffcall/metadata.xml b/dev-libs/ffcall/metadata.xml |
110 |
index 21c840b3448..5b705d07482 100644 |
111 |
--- a/dev-libs/ffcall/metadata.xml |
112 |
+++ b/dev-libs/ffcall/metadata.xml |
113 |
@@ -1,7 +1,10 @@ |
114 |
<?xml version="1.0" encoding="UTF-8"?> |
115 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
116 |
<pkgmetadata> |
117 |
- <!-- maintainer-needed --> |
118 |
+ <maintainer type="project"> |
119 |
+ <email>common-lisp@g.o</email> |
120 |
+ <name>Gentoo Common Lisp Project</name> |
121 |
+ </maintainer> |
122 |
<longdescription> |
123 |
ffcall - foreign function call libraries |
124 |
This is a collection of four libraries which can be used to build foreign |