# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-editors/lfhex/lfhex-0.3.7-r1.ebuild,v 1.8 2005/07/07 04:21:35 caleb Exp $ inherit eutils DESCRIPTION="A fast, efficient hex-editor with support for large files and comparing binary files" HOMEPAGE="http://freshmeat.net/projects/lfhex" SRC_URI="http://home.earthlink.net/~eyekode/data/${P}.tar.gz" LICENSE="QPL-1.0" SLOT="0" KEYWORDS="x86 ppc amd64" IUSE="" RDEPEND="=x11-libs/qt-3* virtual/x11" DEPEND="${RDEPEND} sys-devel/flex sys-devel/bison sys-apps/grep sys-apps/net-tools" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/lfhex-gcc3-inline-fix.patch } src_compile() { econf || die emake || die "emake failed" } src_install() { dobin bin/lfhex dodoc LICENSE.QPL dodoc README dodoc README.install }