# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-editors/lfhex/lfhex-0.4-r1.ebuild,v 1.3 2008/07/27 00:52:39 carlo Exp $ EAPI="1" inherit qt4 toolchain-funcs DESCRIPTION="A fast, efficient hex-editor with support for large files and comparing binary files" HOMEPAGE="http://stoopidsimple.com/lfhex" SRC_URI="http://stoopidsimple.com/files/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="" RDEPEND="|| ( x11-libs/qt-gui:4 =x11-libs/libXt-1.0.0" DEPEND="sys-devel/flex sys-devel/bison ${RDEPEND}" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/ndebug.patch } src_compile() { # eqmake4 lfhex.pro eqmake4 || die "eqmake4 failed" emake || die "emake failed" } src_install() { dobin lfhex dodoc README }