# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-emulation/skyeye/skyeye-1.0.0.ebuild,v 1.5 2012/05/03 18:49:07 jdhore Exp $ EAPI="4" DESCRIPTION="an ARM embedded hardware simulator" HOMEPAGE="http://www.skyeye.org/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" RDEPEND="sys-libs/ncurses media-libs/freetype x11-libs/gtk+:2 dev-libs/glib:2 x11-libs/pango" DEPEND="${RDEPEND} virtual/pkgconfig" src_prepare() { sed -i '1i#include "config.h"' common/loader/loader_elf.c || die export ac_cv_prog_LLVM=no } do_all() { local d for d in third-party/{libiberty,bfd,opcodes} libltdl . ; do pushd ${d} >/dev/null || die "$@" popd >/dev/null done } src_configure() { do_all econf --cache="${S}"/config.cache --disable-werror } src_compile() { do_all emake } src_install() { dobin binary/skyeye dodoc ChangeLog README }