summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/ffcall')
-rw-r--r--dev-libs/ffcall/ChangeLog9
-rw-r--r--dev-libs/ffcall/Manifest11
-rw-r--r--dev-libs/ffcall/ffcall-1.10.ebuild59
-rw-r--r--dev-libs/ffcall/files/digest-ffcall-1.101
-rw-r--r--dev-libs/ffcall/metadata.xml28
5 files changed, 103 insertions, 5 deletions
diff --git a/dev-libs/ffcall/ChangeLog b/dev-libs/ffcall/ChangeLog
index 88628d50c1e8..f9b1defbeeaf 100644
--- a/dev-libs/ffcall/ChangeLog
+++ b/dev-libs/ffcall/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-libs/ffcall
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/ffcall/ChangeLog,v 1.17 2005/04/24 02:50:19 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/ffcall/ChangeLog,v 1.18 2005/06/22 20:37:22 fafhrd Exp $
+
+*ffcall-1.10 (22 Jun 2005)
+
+ 22 Jun 2005; Armando Di Cianno <fafhrd@gentoo.org> +metadata.xml,
+ +ffcall-1.10.ebuild:
+ Added version 1.10 of ffcall; added metadata.xml; added myself for
+ maintership (optional dependency of core GNUstep libs)
24 Apr 2005; Michael Hanselmann <hansmi@gentoo.org> ffcall-1.8d.ebuild:
Stable on ppc.
diff --git a/dev-libs/ffcall/Manifest b/dev-libs/ffcall/Manifest
index 116b44e98c10..07bc68c3a29b 100644
--- a/dev-libs/ffcall/Manifest
+++ b/dev-libs/ffcall/Manifest
@@ -1,6 +1,9 @@
-MD5 5957737169543d238230869960514672 ChangeLog 1561
-MD5 46f829339d9d553bf79b58a6969be400 ffcall-1.9.ebuild 1731
+MD5 9606f03f523a0222c1b714fc2d72b532 ffcall-1.10.ebuild 1632
+MD5 921c2b115f9d25b8c135ab37b0784bef ChangeLog 1807
+MD5 9265c03d2a344f13bfc7d22e3d8bc039 metadata.xml 839
MD5 56a20842b56de3efa8f7a205d5677908 ffcall-1.8d.ebuild 1805
-MD5 861781cf897cdab4ed21c9926801e25d files/digest-ffcall-1.9 62
-MD5 551cda681686392a1416ec70fecc2b94 files/ffcall_hppa_1.8-4.2.diff.gz 2416
+MD5 46f829339d9d553bf79b58a6969be400 ffcall-1.9.ebuild 1731
+MD5 17ad3a5c1aa6e9ceba67daaa22e09cda files/digest-ffcall-1.10 63
MD5 cd13882be2b4029127ad48a9037c98bc files/digest-ffcall-1.8d 63
+MD5 551cda681686392a1416ec70fecc2b94 files/ffcall_hppa_1.8-4.2.diff.gz 2416
+MD5 861781cf897cdab4ed21c9926801e25d files/digest-ffcall-1.9 62
diff --git a/dev-libs/ffcall/ffcall-1.10.ebuild b/dev-libs/ffcall/ffcall-1.10.ebuild
new file mode 100644
index 000000000000..0dfc059b7a80
--- /dev/null
+++ b/dev-libs/ffcall/ffcall-1.10.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/ffcall/ffcall-1.10.ebuild,v 1.1 2005/06/22 20:37:22 fafhrd Exp $
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="foreign function call libraries"
+HOMEPAGE="http://www.haible.de/bruno/packages-ffcall.html"
+SRC_URI="http://www.haible.de/bruno/gnu/${P}.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 LGPL-2 )"
+SLOT="0"
+KEYWORDS="~x86 ~sparc ~hppa ~alpha ~ppc"
+IUSE=""
+
+DEPEND="virtual/libc"
+
+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'
+
+ append-flags -fPIC
+
+ econf || die "./configure failed"
+ make ${cpu_setting} || die
+}
+
+src_install() {
+ dodoc ChangeLog NEWS README
+ dohtml avcall/avcall.html \
+ callback/callback.html \
+ callback/trampoline_r/trampoline_r.html \
+ trampoline/trampoline.html \
+ vacall/vacall.html
+ doman avcall/avcall.3 \
+ callback/callback.3 \
+ callback/trampoline_r/trampoline_r.3 \
+ trampoline/trampoline.3 \
+ vacall/vacall.3
+ dolib.a avcall/.libs/libavcall.a \
+ avcall/.libs/libavcall.la \
+ vacall/libvacall.a \
+ callback/.libs/libcallback.a \
+ callback/.libs/libcallback.la \
+ trampoline/libtrampoline.a
+ insinto /usr/include
+ doins avcall/avcall.h \
+ callback/callback.h \
+ trampoline/trampoline.h \
+ callback/trampoline_r/trampoline_r.h \
+ vacall/vacall.h \
+ callback/vacall_r.h
+}
diff --git a/dev-libs/ffcall/files/digest-ffcall-1.10 b/dev-libs/ffcall/files/digest-ffcall-1.10
new file mode 100644
index 000000000000..454b90527eac
--- /dev/null
+++ b/dev-libs/ffcall/files/digest-ffcall-1.10
@@ -0,0 +1 @@
+MD5 2db95007e901f3bc2ae7e5a9fe9ebea4 ffcall-1.10.tar.gz 914870
diff --git a/dev-libs/ffcall/metadata.xml b/dev-libs/ffcall/metadata.xml
new file mode 100644
index 000000000000..a54084701894
--- /dev/null
+++ b/dev-libs/ffcall/metadata.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>fafhrd@gentoo.org</email>
+ <description>ffcall is an optional dependency of core GNUstep libs, which I maintain</description>
+</maintainer>
+<longdescription>
+ffcall - foreign function call libraries
+This is a collection of four libraries which can be used to build foreign
+function call interfaces in embedded interpreters.
+
+The four packages are:
+
+avcall
+- calling C functions with variable arguments
+
+vacall
+- C functions accepting variable argument prototypes
+
+trampoline
+- closures as first-class C functions
+
+callback
+- closures with variable arguments as first-class C functions (a reentrant combination of vacall and trampoline)
+</longdescription>
+</pkgmetadata>