blob: 58639a0c4637925686ca36d86a38900660ab94d7 (
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
42
43
44
45
46
47
48
49
50
51
52
53
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# 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.13 2003/09/05 23:05:05 msterret Exp $
IUSE="nls"
S=${WORKDIR}/${P}
DESCRIPTION="Gnome Hexadecimal editor"
SRC_URI="http://pluton.ijs.si/~jaka/${P}.tar.gz"
HOMEPAGE="http://pluton.ijs.si/~jaka/gnome.html"
RDEPEND="=x11-libs/gtk+-1.2*
>=gnome-base/gnome-libs-1.4.1.2-r3
>=gnome-base/ORBit-0.5.12-r1
>=gnome-base/gnome-print-0.34
>=app-text/scrollkeeper-0.2"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"
SLOT="1"
LICENSE="GPL-2"
KEYWORDS="x86 ppc sparc "
src_compile() {
local myconf=""
use nls || myconf="$myconf --disable-nls" #default enabled
./configure --host=${CHOST} \
--prefix=/usr \
--infodir=/usr/share/info \
--mandir=/usr/share/man \
${myconf} || die "Configuration Failed"
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 ABOUT-NLS AUTHORS COPYING COPYING-DOCS ChangeLog INSTALL \
NEWS README
}
|