# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="Yet Another PIC IDE: a Microchip PIC simulator" HOMEPAGE="http://www.mtoussaint.de/yapide.html" SRC_URI="http://www.mtoussaint.de/${P}.tgz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" RDEPEND="virtual/libc >=x11-libs/qt-3.0.0 dev-embedded/gputils" DEPEND="${RDEPEND} sys-devel/gcc" S="${WORKDIR}/YaPIDE-${PV}" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${PN}-0.1-configure.patch } src_compile() { ./configure || die addwrite "$HOME/.qt" addwrite "$QTDIR/etc/settings" emake || die } src_install() { exeinto /usr/bin doexe bin/yapide dodoc AUTHORS COPYING KNOWNBUGS README }