# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit autotools eutils DESCRIPTION="Integrate Gtk+ application with Mac OS X" HOMEPAGE="http://sourceforge.net/projects/gtk-osx" SRC_URI="mirror://sourceforge/gtk-osx/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~x86-macos" IUSE="" DEPEND=">=x11-libs/gtk+-2.13" RDEPEND="${DEPEND}" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}/${P}-codegen.patch" eautoreconf } src_compile() { econf || die "econf failed" emake || die "emake failed" } src_install() { emake DESTDIR="${D}" install || die "emake install failed" }