summaryrefslogtreecommitdiff
blob: 151c27b0b7b08050c0ef8557853ded71f50cd987 (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-2002 Gentoo Technologies, Inc.
# 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.8 2002/12/09 04:22:40 manson Exp $

S=${WORKDIR}/${P}
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 "
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
}