blob: 54155c87fbfd549167d306c7db10e92ed8fddb8d (
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-www/galeon-cvs/galeon-cvs-20020908.ebuild,v 1.6 2002/09/08 16:18:03 spider Exp $
# ECVS_TOP_DIR="${PORTAGE_TMPDIR}"
ECVS_SERVER="anoncvs.gnome.org:/cvs/gnome"
ECVS_MODULE="galeon"
ECVS_CVS_OPTIONS="-dP"
inherit cvs
inherit gnome2
# inherit debug to enable debugging and do it after gnome2 so as not gnome2 notices debugging
inherit debug libtool
S=${WORKDIR}/${ECVS_MODULE}
DESCRIPTION="Galeon is a Web Browser for the Gnome Desktop. The web, only the web."
HOMEPAGE="http://www.galeon.org/"
SLOT="0"
KEYWORDS="x86"
LICENSE="GPL-2"
DEPEND="virtual/x11
>=net-www/mozilla-1.1-r1
>=gnome-base/gnome-2.0.0
dev-util/cvs"
RDEPEND="${DEPEND}"
pkg_setup () {
if [ ! -f ${ROOT}/usr/lib/mozilla/components/libwidget_gtk2.so ]
then
eerror "you need mozilla-1.1-r1 or higher compiled against gtk+-2"
eerror "export USE=\"gtk2\" ;emerge mozilla -p "
die "Need Mozilla compiled with gtk+-2.0!!"
fi
}
src_compile() {
elibtoolize
cd ${S}
local myconf=" --with-mozilla-snapshot --disable-werror"
local baseopts="--prefix=/usr\
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--datadir=/usr/share \
--sysconfdir=/etc \
--localstatedir=/var/lib"
if [ ! -f ./configure ]; then
./autogen.sh ${baseopts} ${myconf} || die "autogen failed"
else
./configure ${baseopts} ${myconf} || die "configure failed"
fi
make || die "compile failed"
}
src_install () {
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1"
einstall scrollkeeper_localstate_dir=${D}/var/lib/scrollkeeper/ || die "make install failed"
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
dodoc AUTHORS COPYING COPYING.README ChangeLog ChangeLog-1.0 FAQ INSTALL README README.ExtraPrefs THANKS TODO NEWS
einfo "${PORTAGE_TMPDIR}/galeon should be erased if existing"
einfo "this was the old storage for galeon cvs tree, now standardized to another location"
}
|