summaryrefslogtreecommitdiff
blob: a97891077af11a3ea8e62b746af7f8f0c9090e26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# 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
}