blob: 829ad5ba7a902063c61e040220c489224b8c84e1 (
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
72
73
74
75
76
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/net-www/dillo/dillo-0.6.6-r1.ebuild,v 1.1 2002/08/16 16:01:18 seemant Exp $
S=${WORKDIR}/${P}
S2=${WORKDIR}/${PN}-gentoo-extra
DESCRIPTION="Lean GTK+-based web browser"
SRC_URI="http://dillo.cipsga.org.br/download/${P}.tar.gz
mirror://gentoo/dillo-gentoo-extra.tar.bz2"
HOMEPAGE="http://dillo.cipsga.org.br"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ppc sparc sparc64"
DEPEND="=x11-libs/gtk+-1.2*
>=media-libs/jpeg-6b
>=sys-libs/zlib-1.1.3
>=media-libs/libpng-1.2.1"
src_unpack() {
unpack ${A}
cd ${S}
patch -p1 < ${S2}/${P}-gentoo-patch || die
if use mozilla
then
cp ${S2}/pixmaps.netscape.h ${S}/src/pixmaps.h
elif use kde
then
cp ${S2}/pixmaps.konq.h ${S}/src/pixmaps.h
elif use gnome
then
cp ${S2}/pixmaps.ximian.h ${S}/src/pixmaps.h
fi
}
src_compile() {
econf || die
emake || die
}
src_install () {
dodir /etc
make \
DESTDIR=${D} \
install || die
dodoc AUTHORS COPYING ChangeLog ChangeLog.old INSTALL README NEWS
docinto doc
dodoc doc/*.txt doc/README
}
pkg_postinst() {
einfo "This ebuild for dillo comes with different toolbar icons"
einfo "If you want mozilla style icons then try"
einfo " USE=\"-kde -gnome mozilla\" emerge dillo"
einfo
einfo "If you prefer konqueror style icons then try"
einfo " USE=\"-mozilla -gnome kde\" emerge dillo"
einfo
einfo "If you prefer ximian gnome style icons then try"
einfo " USE=\"-mozilla -kde gnome\" emerge dillo"
einfo
einfo "Otherwise, if you want the default icon set, then do"
einfo " USE=\"-mozilla -kde -gnome\" emerge dillo"
einfo
einfo "Do not worry, no extra dependencies will be pulled in"
}
|