blob: 5e0c0307772c0c83a419538ecc567467437968c6 (
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
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/mlview/mlview-0.0.3_rc1.ebuild,v 1.5 2004/01/25 12:13:46 obz Exp $
MY_P=${P/_/}
DESCRIPTION="XML Editor for Gnome"
HOMEPAGE="http://www.nongnu.org/mlview/"
SRC_URI="http://savannah.gnu.org/download/${PN}/tarballs/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE="nls"
DEPEND="gnome-base/gnome-libs
>=dev-libs/libxml2-2.4.22
nls? ( sys-devel/gettext )"
S="${WORKDIR}/${MY_P}"
src_compile() {
econf `use_enable nls`
# The presence of this file breaks the compilation without nls
[ -f ${S}/intl/libintl.h ] && rm ${S}/intl/libintl.h
emake || die "Compilation failed"
}
src_install() {
einstall
dodoc ABOUT-NLS AUTHORS BRANCHES COPYING ChangeLog NEWS README TODO
}
|