summaryrefslogtreecommitdiff
blob: 697f2cfd7d61ca1406af69854df24db7a050b65f (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
# 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.2 2010/07/29 11:42:27 ssuominen Exp $

EAPI="3"

inherit eutils 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/
	epatch "${FILESDIR}"/${P}-locale_h.patch
}

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 ; }