# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="gBDFed - GTK+-based BDF editor (successor to xmBDFed)" HOMEPAGE="http://crl.nmsu.edu/~mleisher/gbdfed.html" SRC_URI="http://crl.nmsu.edu/~mleisher/${P}.tar.gz" LICENSE="as-is" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=x11-libs/gtk+-2.8.8" RESTRICT="test" src_unpack() { unpack ${A} cd ${S} # apply patches epatch "${FILESDIR}/gbdfed-1.0-patch1" epatch "${FILESDIR}/gbdfed-1.0-patch2" epatch "${FILESDIR}/gbdfed-1.0-patch3" } src_compile() { cd ${S} econf || die "econf failed" emake || die "emake failed" } src_install() { cd ${S} # make DESTDIR="${D}" install || die "Install failed!" # einstall IS required here einstall || die "einstall failed" dodoc README }