summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarijn Schouten <hkbst@gentoo.org>2008-07-03 16:24:53 +0000
committerMarijn Schouten <hkbst@gentoo.org>2008-07-03 16:24:53 +0000
commite0071b9725b7ce970de32c78664e83ea8fa25a8f (patch)
tree08b7f05aa5858ac7e964837c449422546ba9e9dc /dev-libs/g-wrap
parentfix the includes for the linux/ivtv.h header (diff)
downloadgentoo-2-e0071b9725b7ce970de32c78664e83ea8fa25a8f.tar.gz
gentoo-2-e0071b9725b7ce970de32c78664e83ea8fa25a8f.tar.bz2
gentoo-2-e0071b9725b7ce970de32c78664e83ea8fa25a8f.zip
bump
(Portage version: 2.2_rc1/cvs/Linux 2.6.23-gentoo-r8 x86_64)
Diffstat (limited to 'dev-libs/g-wrap')
-rw-r--r--dev-libs/g-wrap/ChangeLog9
-rw-r--r--dev-libs/g-wrap/g-wrap-1.9.11.ebuild51
2 files changed, 58 insertions, 2 deletions
diff --git a/dev-libs/g-wrap/ChangeLog b/dev-libs/g-wrap/ChangeLog
index f20fe8307ee6..d7c7b24bb054 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.59 2007/11/20 21:44:51 corsair Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/g-wrap/ChangeLog,v 1.60 2008/07/03 16:24:53 hkbst Exp $
+
+*g-wrap-1.9.11 (03 Jul 2008)
+
+ 03 Jul 2008; Marijn Schouten <hkBst@gentoo.org> +g-wrap-1.9.11.ebuild:
+ bump
20 Nov 2007; Markus Rothe <corsair@gentoo.org> g-wrap-1.9.9.ebuild:
Added ~ppc64; bug #199368
diff --git a/dev-libs/g-wrap/g-wrap-1.9.11.ebuild b/dev-libs/g-wrap/g-wrap-1.9.11.ebuild
new file mode 100644
index 000000000000..61bf2f153009
--- /dev/null
+++ b/dev-libs/g-wrap/g-wrap-1.9.11.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2008 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.11.ebuild,v 1.1 2008/07/03 16:24:53 hkbst Exp $
+
+inherit eutils
+
+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"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~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
+ 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}"
+
+# cp guile/g-wrap-2.0-guile.pc.in guile/g-wrap-2.0-guile.pc.in.old
+
+ sed "s:@LIBFFI_CFLAGS_INSTALLED@:@LIBFFI_CFLAGS@:g" -i guile/g-wrap-2.0-guile.pc.in
+ sed "s:@LIBFFI_LIBS_INSTALLED@:@LIBFFI_LIBS@:g" -i guile/g-wrap-2.0-guile.pc.in
+
+# diff -u guile/g-wrap-2.0-guile.pc.in.old guile/g-wrap-2.0-guile.pc.in
+}
+
+src_compile() {
+ econf --with-glib --disable-Werror
+ emake || die "make failed"
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS ChangeLog NEWS README THANKS
+ insinto /usr/share/guile/site/srfi
+ doins lib/srfi/srfi*
+}