# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Gtk+ bindings to the Ada language" HOMEPAGE="http://libre.act-europe.fr/GtkAda" SRC_URI="http://libre.act-europe.fr/GtkAda/GtkAda-2.0.0.tgz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86" IUSE="nls opengl" DEPEND="virtual/gnat >=x11-libs/gtk+-2.0.0" #RDEPEND="" S=${WORKDIR}/${P} src_compile() { local myconf myconf="" use nls || myconf="${myconf} --disable-nls" use opengl && myconf="${myconf} --with-GL=auto" ./configure \ --host=${CHOST} \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ ${myconf} || die "./configure failed" make GNATFLAGS="-cargs ${CFLAGS} -margs" || die } src_install() { local myprefix make prefix=${D}/usr install || die }