summaryrefslogtreecommitdiff
blob: 80b6458fddedd2685f348327f8a31c382127d08f (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gtk-g-rays2/gtk-g-rays2-1.20.ebuild,v 1.1 2010/04/27 10:59:43 scarabeus Exp $

EAPI="3"

inherit gnome2 base

DESCRIPTION="GUI for accessing the Wintec WBT 201 / G-Rays 2 GPS device"
HOMEPAGE="http://www.daria.co.uk/gps"
SRC_URI="http://www.zen35309.zen.co.uk/gps/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="gnome-base/libglade
	x11-libs/cairo"
DEPEND="${DEPEND}
	dev-libs/libxslt
	dev-util/pkgconfig
	sys-devel/gettext"

src_prepare() {
	rm -rf debian/
}

src_configure() {
	econf \
		--docdir=/usr/share/doc/${PF}
}

src_install() {
	base_src_install
	dodoc README AUTHORS ChangeLog || die "dodoc failed"
}

pkg_postinst() { gnome2_icon_cache_update ; }
pkg_postrm() { gnome2_icon_cache_update ; }