# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/kde-misc/kaptain/kaptain-0.72.ebuild,v 1.6 2008/04/21 17:44:09 philantrop Exp $ inherit kde-functions eutils DESCRIPTION="A universal graphical front-end for command line programs" HOMEPAGE="http://kaptain.sourceforge.net/" SRC_URI="mirror://sourceforge/kaptain/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" IUSE="" KEYWORDS="~amd64 ppc ~sparc x86" need-qt 3 src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${P}-ggc4.patch # Fixes bug 218690. epatch "${FILESDIR}"/${P}-gcc43.patch } src_install() { emake DESTDIR="${D}" install || die dodoc AUTHORS ChangeLog README TODO || die "installing docs failed." }