blob: a0e86892cbfd97140bb1b7bf3e954350e2a6faa0 (
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
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/dev-util/devhelp/devhelp-0.4.ebuild,v 1.2 2002/07/11 06:30:25 drobbins Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Developer help browser"
SRC_URI="http://devhelp.codefactory.se/download/${P}.tar.gz"
HOMEPAGE="http://devhelp.codefactory.se/"
LICENSE="GPL"
SLOT="0"
RDEPEND=">=gnome-base/gnome-libs-1.2.8
>=gnome-base/ORBit-0.5.10-r1
>=gnome-base/bonobo-1.0.9-r1
>=gnome-base/libglade-0.17-r1
>=dev-libs/libxml-1.8.15
>=gnome-extra/gtkhtml-0.10.0
>=gnome-base/gconf-1.0.4-r2
>=gnome-base/gnome-vfs-1.0.2-r1
>=gnome-base/oaf-0.6.6-r1
>=gnome-base/gnome-print-0.30"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )
>=dev-util/intltool-0.11"
src_compile() {
local myconf
if [ -z "`use nls`" ] ; then
myconf="--disable-nls"
fi
./configure --host=${CHOST} \
--prefix=/usr \
--sysconfdir=/etc \
--disable-more-warnings \
--disable-install-schemas \
--without-python $myconf || die
emake || die
}
src_install () {
make DESTDIR=${D} install || die
dodoc AUTHORS COPYING ChangeLog README NEWS TODO
}
pkg_postinst() {
# This is directly from the rpm specfile for devhelp...
# Fix gconf permissions
killall gconfd-1 2>/dev/null >/dev/null
chmod o+rX /etc/gconf -R
# Install schemas
gconftool-1 --shutdown
SOURCE=xml::/etc/gconf/gconf.xml.defaults
GCONF_CONFIG_SOURCE=$SOURCE \
gconftool-1 --makefile-install-rule \
/etc/gconf/schemas/devhelp.schemas \
# 2>/dev/null >/dev/null || exit 1
assert "gconftool-1 execution failed"
}
|