summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarijn Schouten <hkbst@gentoo.org>2007-11-06 18:19:47 +0000
committerMarijn Schouten <hkbst@gentoo.org>2007-11-06 18:19:47 +0000
commitc5da325541ca3e232e1722134ed49ee2bef2ec79 (patch)
treea1c037b9144be5f427e4dd1994977752a2894afd
parentppc stable, bug #197575 (diff)
downloadgentoo-2-c5da325541ca3e232e1722134ed49ee2bef2ec79.tar.gz
gentoo-2-c5da325541ca3e232e1722134ed49ee2bef2ec79.tar.bz2
gentoo-2-c5da325541ca3e232e1722134ed49ee2bef2ec79.zip
bump, fixes bug 198175
(Portage version: 2.1.3.18)
-rw-r--r--dev-libs/g-wrap/ChangeLog7
-rw-r--r--dev-libs/g-wrap/files/digest-g-wrap-1.9.93
-rw-r--r--dev-libs/g-wrap/g-wrap-1.9.9.ebuild57
3 files changed, 66 insertions, 1 deletions
diff --git a/dev-libs/g-wrap/ChangeLog b/dev-libs/g-wrap/ChangeLog
index 393c3570ea4a..8c656297f0e4 100644
--- a/dev-libs/g-wrap/ChangeLog
+++ b/dev-libs/g-wrap/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/g-wrap
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/g-wrap/ChangeLog,v 1.56 2007/08/31 14:10:37 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/g-wrap/ChangeLog,v 1.57 2007/11/06 18:19:47 hkbst Exp $
+
+*g-wrap-1.9.9 (06 Nov 2007)
+
+ 06 Nov 2007; Marijn Schouten <hkBst@gentoo.org> +g-wrap-1.9.9.ebuild:
+ bump, fixes bug 198175
31 Aug 2007; Christoph Mende <angelos@gentoo.org> g-wrap-1.9.8.ebuild:
Added ~amd64 wrt bug #190673
diff --git a/dev-libs/g-wrap/files/digest-g-wrap-1.9.9 b/dev-libs/g-wrap/files/digest-g-wrap-1.9.9
new file mode 100644
index 000000000000..c307e4b96535
--- /dev/null
+++ b/dev-libs/g-wrap/files/digest-g-wrap-1.9.9
@@ -0,0 +1,3 @@
+MD5 9014d7ed8d395ff335a6a4bf5778ed4e g-wrap-1.9.9.tar.gz 1057858
+RMD160 b38e3333655f544442ce6269668f7a7688ae8731 g-wrap-1.9.9.tar.gz 1057858
+SHA256 175dc9d513f336a041e2a57bc4a7aef91d86b1c48caeb84b7a5f7ed53afdd246 g-wrap-1.9.9.tar.gz 1057858
diff --git a/dev-libs/g-wrap/g-wrap-1.9.9.ebuild b/dev-libs/g-wrap/g-wrap-1.9.9.ebuild
new file mode 100644
index 000000000000..88846af24c30
--- /dev/null
+++ b/dev-libs/g-wrap/g-wrap-1.9.9.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/g-wrap/g-wrap-1.9.9.ebuild,v 1.1 2007/11/06 18:19:47 hkbst Exp $
+
+inherit eutils autotools
+
+DESCRIPTION="A tool for exporting C libraries into Scheme"
+HOMEPAGE="http://www.nongnu.org/g-wrap/"
+SRC_URI="http://download.savannah.gnu.org/releases/g-wrap/${P}.tar.gz"
+# http://dev.gentoo.org/~dberkholz/distfiles/${P}-gcc-4.2.0.patch.bz2"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE=""
+
+# guile-lib for srfi-34, srfi-35
+DEPEND="dev-scheme/guile
+ =dev-libs/glib-2*
+ !=dev-libs/libffi-4*"
+# dev-scheme/guile-lib"
+
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ if has_version =dev-scheme/guile-1.8*; then
+ built_with_use dev-scheme/guile deprecated || die "guile must be built with deprecated use flag"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/libffi_automagic.patch"
+# epatch "${FILESDIR}/${PV}-fix-ffi-build-issue.patch"
+
+# pushd libffi
+# epatch "${DISTDIR}/${P}-gcc-4.2.0.patch.bz2"
+# epatch "${FILESDIR}/${PV}-fix-gcc-4.2.0-libffi.patch"
+# popd
+
+ AT_M4DIR="${S}/m4" eautoreconf
+}
+
+#looks like parallel build and install fails occasionally
+src_compile() {
+ econf --with-glib --disable-Werror
+ emake -j1 || die 'make failed'
+# emake -j1 -C libffi || die 'make libffi failed'
+}
+
+src_install () {
+ emake -j1 DESTDIR="${D}" install || die "make install failed"
+# emake -C libffi -j1 DESTDIR="${D}" install || die 'install libffi failed'
+ dodoc AUTHORS ChangeLog NEWS README THANKS
+ insinto /usr/share/guile/site/srfi
+ doins lib/srfi/srfi*
+}