summaryrefslogtreecommitdiff
blob: ed107078db38f5e99600dca1de6fe4f5d29009d6 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/gwget/gwget-0.94.ebuild,v 1.3 2005/07/15 21:26:42 agriffis Exp $

inherit eutils gnome2 libtool

DESCRIPTION="GTK2 WGet Frontend"
HOMEPAGE="http://gnome.org/projects/gwget/"
SRC_URI="http://ftp.gnome.org/pub/GNOME/sources/${PN}/${PV}/${P}.tar.bz2"
LICENSE="GPL-2"

IUSE="epiphany"
SLOT="0"
KEYWORDS="~x86 ~ppc ~amd64"

RDEPEND="net-misc/wget
	>=x11-libs/gtk+-2.4
	>=gnome-base/gconf-1.1.11
	>=gnome-base/libgnomeui-2
	>=gnome-base/libglade-2
	epiphany? ( >=www-client/epiphany-1.4 )
	>=dev-libs/glib-2.4.0
	"

DEPEND="${RDEPEND}
	>=dev-util/intltool-0.11
	dev-util/pkgconfig
	>=sys-devel/gettext-0.10.4
	"

DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO"

G2CONF="${G2CONF} $(use_enable epiphany epiphany-extension)"
USE_DESTDIR="1"

src_unpack() {
	unpack ${A}
	cd ${S}
	libtoolize --copy --force
	# Fix the Epiphany extension installation directory:
	epatch ${FILESDIR}/gwget-0.94-epiphany-path-fix.patch
}

src_install() {
	gnome2_src_install
	# remove /var/lib, which is created without any reason
	rm -rf ${D}/var
}