# Copyright 1999-2005 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.3.4-r1.ebuild,v 1.5 2005/10/02 12:13:30 agriffis Exp $ inherit autotools eutils flag-o-matic #IUSE="gcj" IUSE="" 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" #SLOT="1.9" LICENSE="GPL-2" KEYWORDS="alpha amd64 ia64 ppc sparc x86" DEPEND=">=dev-util/guile-1.4 >=dev-libs/slib-2.4.2 dev-libs/glib" # Seems like it's not needed # !gcj ( dev-libs/libffi ) #pkg_setup() { # g-wrap requires libffi to be installed and libffi is usually # installed with gcc, but only if gcj USE flag is set # Sometimes it installes it's own version of libffi, sometimes not... # if use gcj ; then # if ! built_with_use sys-devel/gcc gcj ; then # die "GCC has to be built with gcj USE flag" # fi # fi #} src_unpack() { unpack ${A}; cd ${S} epatch ${FILESDIR}/g-wrap-glib-problem-fix.patch # eautoreconf # No eautoreconf because it doesn't work :( autoconf automake } src_install () { einstall || die "Installation failed" dodoc AUTHORS ChangeLog NEWS README THANKS }