summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/ffcall/ChangeLog7
-rw-r--r--dev-libs/ffcall/ffcall-1.9.ebuild58
-rw-r--r--dev-libs/ffcall/files/digest-ffcall-1.91
3 files changed, 65 insertions, 1 deletions
diff --git a/dev-libs/ffcall/ChangeLog b/dev-libs/ffcall/ChangeLog
index 75c4967d9bfe..34a292aaa094 100644
--- a/dev-libs/ffcall/ChangeLog
+++ b/dev-libs/ffcall/ChangeLog
@@ -1,7 +1,12 @@
# ChangeLog for dev-libs/ffcall
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
# Author Nick Hadaway <raker@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/ffcall/ChangeLog,v 1.9 2004/02/15 12:08:52 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/ffcall/ChangeLog,v 1.10 2004/04/26 13:33:36 gmsoft Exp $
+
+*ffcall-1.9 (26 Apr 2004)
+
+ 26 Apr 2004; Guy Martin <gmsoft@gentoo.org> ffcall-1.9.ebuild:
+ New version of ffcall. This one works better on hppa.
15 Feb 2004; David Holm <dholm@gentoo.org> ffcall-1.8d.ebuild:
Added to ~ppc.
diff --git a/dev-libs/ffcall/ffcall-1.9.ebuild b/dev-libs/ffcall/ffcall-1.9.ebuild
new file mode 100644
index 000000000000..ae1dd02f473a
--- /dev/null
+++ b/dev-libs/ffcall/ffcall-1.9.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/ffcall/ffcall-1.9.ebuild,v 1.1 2004/04/26 13:33:36 gmsoft Exp $
+
+inherit eutils
+
+DESCRIPTION="foreign function call libraries"
+HOMEPAGE="http://www.gnu.org/directory/ffcall.html"
+SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/libs/${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"
+
+DEPEND="virtual/glibc"
+
+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.9 b/dev-libs/ffcall/files/digest-ffcall-1.9
new file mode 100644
index 000000000000..a6fca514f0ff
--- /dev/null
+++ b/dev-libs/ffcall/files/digest-ffcall-1.9
@@ -0,0 +1 @@
+MD5 8437c7f973db2d3d340c833d23001c64 ffcall-1.9.tar.gz 873806