summaryrefslogtreecommitdiff
blob: 8a00b3cf9e353c304f53da80b7de37886f844ff5 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/ghex/ghex-1.2.1.ebuild,v 1.16 2004/08/21 15:18:05 foser Exp $

DESCRIPTION="Gnome Hexadecimal editor"
HOMEPAGE="http://pluton.ijs.si/~jaka/gnome.html"
SRC_URI="http://pluton.ijs.si/~jaka/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="1"
KEYWORDS="x86 ppc sparc"
IUSE="nls"

RDEPEND="=x11-libs/gtk+-1.2*
	 >=gnome-base/gnome-libs-1.4.1.2-r3
	 =gnome-base/orbit-0*
	 >=gnome-base/gnome-print-0.34
	 >=app-text/scrollkeeper-0.2"
DEPEND="${RDEPEND}
	nls? ( sys-devel/gettext )"

src_compile() {
	local myconf=""
	use nls || myconf="$myconf --disable-nls" #default enabled

	econf ${myconf} || die
	emake || die
}

src_install() {
	make \
		prefix=${D}/usr \
		mandir=${D}/usr/share/man \
		infodir=${D}/usr/share/info \
		GNOME_DATA_DIR=${D}/usr/share \
		localstatedir=${D}/var \
		install || die "Installation Failed"

	dodoc AUTHORS ChangeLog INSTALL NEWS README
}