diff options
author | Chema Alonso Josa <nimiux@gentoo.org> | 2017-06-27 12:02:50 +0200 |
---|---|---|
committer | Chema Alonso Josa <nimiux@gentoo.org> | 2017-06-27 12:03:14 +0200 |
commit | f1c6faac806833ebf5b8cfe56a207dc70c8524eb (patch) | |
tree | 063ffeec4193d48cbc134d9ad0d8274d6ea62145 /dev-libs | |
parent | sci-libs/ignition-math: Bump to 3.2.0 (diff) | |
download | gentoo-f1c6faac806833ebf5b8cfe56a207dc70c8524eb.tar.gz gentoo-f1c6faac806833ebf5b8cfe56a207dc70c8524eb.tar.bz2 gentoo-f1c6faac806833ebf5b8cfe56a207dc70c8524eb.zip |
dev-libs/ffcall: Bumps version to 1.13. Updates metadata
Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/ffcall/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/ffcall/ffcall-1.13.ebuild | 76 | ||||
-rw-r--r-- | dev-libs/ffcall/metadata.xml | 5 |
3 files changed, 81 insertions, 1 deletions
diff --git a/dev-libs/ffcall/Manifest b/dev-libs/ffcall/Manifest index efd1fbe85f4b..f724210eedf2 100644 --- a/dev-libs/ffcall/Manifest +++ b/dev-libs/ffcall/Manifest @@ -1,2 +1,3 @@ DIST clisp-2.41.tar.bz2 8319471 SHA256 1e5f8d9b04024ae072536ae3271075c1a422c02d3997a729a6b00912ed2ae323 SHA512 638417834cc8b81a893ea98801d8ec3f6e591062bf799a1462fc36ceb3fa0107eb1c55e335cd32e1f9d931692e806d0c59c7557cfaf3af9cb00349b715111489 WHIRLPOOL aaa8a42627621ffc19e527634f0a0f769ffb804132ab29cbe4ca592db03cc10621b968f279f5ba2a92018e16c617f34ddf2ddfbb9993e30b54c8bce643af307a DIST ffcall-1.10.tar.gz 914870 SHA256 6f1b5b8fc84b2c0051637fb1e4e4f8b975f5f98bff8fe053c1992347baa4983d SHA512 dceb620907adae5bbbb52cf2d0b0c829242ad22adceb3186b7a887b7ba49e28b607c30179de6b5a0c46a90bd52f9963ce503ca0c69bc3ecf41e3556df094ddca WHIRLPOOL 8f90c8415197ff6d0176b3e95fe8455c0f242264666749ca8228c83df5275fb8c2404a218d0b5170386ad022bc729014cb81b11570e29855305a9efdbfb769d3 +DIST libffcall-1.13.tar.gz 985185 SHA256 1707ce707dbbf57f1bbe9aa56929c0da866046b0d5a26eb0d96d9f0bb29bbce7 SHA512 c059fa89eb3e85bad22d045de074bfc88fae42454821e10905ffd67209b6e6ea44eeab120b869696f77b816aacb9a5af3e4b51c640512e876df1b6da6f296bd4 WHIRLPOOL e79a5eaa0a6d15f81ecac2848dbd57cfc7f05551fbeaacd57b532c07d00778c48834377d3f04a2fedf6009b947786bada1d85ac95e0b7f6a5865981f22fd73a3 diff --git a/dev-libs/ffcall/ffcall-1.13.ebuild b/dev-libs/ffcall/ffcall-1.13.ebuild new file mode 100644 index 000000000000..e2514f4f1ea6 --- /dev/null +++ b/dev-libs/ffcall/ffcall-1.13.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2017 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="foreign function call libraries" +HOMEPAGE="https://www.gnu.org/software/libffcall/" +SRC_URI="http://ftp.gnu.org/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 ~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() { + epatch "${FILESDIR}"/${PN}-make-jN.patch + + # 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 + + # usually uses '$(CC) ... -o something' for linking + sed -e 's/\($(CC) .* \)-o /\1 $(LDFLAGS) -o /g' \ + -i "${mfi}" || die + done + eapply_user +} + +src_configure() { + append-flags -fPIC + append-flags $(test-flags-CC -Wa,--noexecstack) #253963 + + # Doc goes in datadir + econf \ + --datadir="${EPREFIX}"/usr/share/doc/${PF} \ + --enable-shared \ + --disable-static +} + +src_compile() { + # Because CHOST is set to (for example) + # alphaev67-unknown-linux-gnu, CPU gets set to alphaev67 which + # doesn't work in the Makefile (29 Jan 2004 agriffis) + local cpu_setting + [[ "${ARCH}" == "alpha" ]] && cpu_setting='CPU=alpha' + + emake ${cpu_setting} +} + +src_install() { + dodoc NEWS README + dodir /usr/share/man + default + prune_libtool_files +} diff --git a/dev-libs/ffcall/metadata.xml b/dev-libs/ffcall/metadata.xml index 21c840b3448f..5b705d074820 100644 --- a/dev-libs/ffcall/metadata.xml +++ b/dev-libs/ffcall/metadata.xml @@ -1,7 +1,10 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> + <maintainer type="project"> + <email>common-lisp@gentoo.org</email> + <name>Gentoo Common Lisp Project</name> + </maintainer> <longdescription> ffcall - foreign function call libraries This is a collection of four libraries which can be used to build foreign |