-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-inherit gnome2 subversion
+EAPI=4
+EGIT_REPO_URI="git://pileus.org/aweather"
+EGIT_BOOTSTRAP="eautoreconf"
+
+inherit autotools gnome2 git-2
DESCRIPTION="A weather monitoring program"
-HOMEPAGE="http://lug.rose-hulman.edu/wiki/AWeather"
+HOMEPAGE="http://pileus.org/aweather"
SRC_URI=""
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~x86"
-IUSE="doc"
+KEYWORDS=""
+IUSE="gps"
-RDEPEND=">=net-libs/libsoup-2.26
- >=x11-libs/gtk+-2.16
- x11-libs/gtkglext
- sci-libs/rsl"
-DEPEND="${RDEPEND}
- doc? ( >=dev-util/gtk-doc-1 )"
+RDEPEND="~sci-libs/grits-9999
+ x11-libs/gtk+:2
+ sci-libs/rsl
+ gps? ( >=sci-geosciences/gpsd-3 )"
+DEPEND="${RDEPEND}"
DOCS="ChangeLog README TODO"
-MAKEOPTS="${MAKEOPTS} -j1"
-
-ESVN_REPO_URI="https://lug.rose-hulman.edu/svn/proj-aweather/trunk"
-ESVN_BOOTSTRAP="./autogen.sh"
+pkg_setup() {
+ G2CONF="${G2CONF}
+ $(use_enable gps)"
+}