summaryrefslogtreecommitdiff
blob: d658362636b3da5c34880fc6fe8191c86094900f (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/users-guide/users-guide-1.2-r1.ebuild,v 1.12 2004/07/14 16:00:50 agriffis Exp $

DESCRIPTION="gnome-users-guide"
SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/${PN}/${P}.tar.gz"
HOMEPAGE="http://www.gnome.org/"
SLOT="0"
KEYWORDS="x86 ppc sparc"
IUSE=""
LICENSE="GPL-2"

DEPEND="gnome-base/gnome-core"

src_compile() {
	sed 's%\help/users-guide%help/gnome-users-guide%' Makefile.am > tmp~
	mv tmp~ Makefile.am
	sed 's%\help/users-guide%help/gnome-users-guide%' Makefile.in > tmp~
	mv tmp~ Makefile.in

	./configure --host=${CHOST}					\
		    --prefix=/usr
	assert

	emake || die
}

src_install() {
	make prefix=${D}/usr install || die

	dodoc AUTHORS COPYING* ChangeLog NEWS README* TODO
}