blob: 54bab5353665d21f894528ded1af30c46e79b08a (
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
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/dev-util/glade/glade-0.6.2.ebuild,v 1.5 2001/06/11 08:11:28 hallski Exp $
A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="glade"
SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/glade/"${A}
HOMEPAGE="http://www.gnome.org/"
DEPEND=">=x11-libs/gtk+-1.2.8 nls? ( sys-devel/gettext )
>=dev-util/xml-i18n-tools-0.8.4
>=gnome-base/scrollkeeper-0.2
gnome? ( >=gnome-base/gnome-libs-1.2.8 )
bonobo? ( >=gnome-base/bonobo-1.0.4 )"
RDEPEND=">=x11-libs/gtk+-1.2.8
gnome? ( >=gnome-base/gnome-libs-1.2.8 )
bonobo? ( >=gnome-base/bonobo-1.0.4 )"
#gnome-db stuff disabled atm
#>=gnome-office/gnome-db-0.2.0
src_compile() {
local myopts
if [ -n "`use gnome`" ] ; then
echo "Using Gnome"
myopts="--prefix=/opt/gnome"
else
myopts="--prefix=/usr/X11R6 --disable-gnome"
fi
if [ "`use bonobo`" ] ; then
myopts="$myopts --with-bonobo"
else
myopts="$myopts --without-bonobo"
fi
if [ -z "`use nls`" ] ; then
myopts="$myopts --disable-nls"
fi
if [ "$DEBUG" ] ; then
myopts="$myopts --enable-debug"
fi
try ./configure --disable-gnome-db --host=${CHOST} ${myopts}
# gnome-db support is only experimental
try pmake
}
src_install() {
local myopts
if [ -n "`use gnome`" ]
then
try make prefix=${D}/opt/gnome install
else
try make prefix=${D}/usr/X11R6 install
fi
dodoc AUTHORS COPYING* FAQ NEWS
dodoc README* TODO
}
|