You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-geosciences/viking/viking-1.4.1.ebuild

63 lines
1.3 KiB

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/viking/viking-1.4.1.ebuild,v 1.1 2013/07/01 11:08:56 grozin Exp $
EAPI=5
DESCRIPTION="GPS data editor and analyzer"
HOMEPAGE="http://viking.sourceforge.net/"
IUSE="doc gps nls"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
doc? ( mirror://sourceforge/${PN}/${PN}.pdf )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
COMMONDEPEND="dev-libs/expat
dev-libs/glib:2
net-misc/curl
sys-libs/zlib
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:2
gps? ( >=sci-geosciences/gpsd-2.96 )
"
RDEPEND="${COMMONDEPEND}
sci-geosciences/gpsbabel
"
DEPEND="${COMMONDEPEND}
app-text/gnome-doc-utils
dev-util/intltool
dev-util/gtk-doc-am
app-text/rarian
dev-libs/libxslt
virtual/pkgconfig
sys-devel/gettext
"
src_configure() {
econf \
--disable-deprecations \
--with-libcurl \
--with-expat \
--enable-google \
--enable-terraserver \
--enable-expedia \
--enable-openstreetmap \
--enable-bluemarble \
--enable-geonames \
--enable-geocaches \
--enable-spotmaps \
--disable-dem24k \
$(use_enable gps realtime-gps-tracking) \
$(use_enable nls)
}
src_install() {
default
if use doc; then
insinto /usr/share/doc/${PF}
doins "${DISTDIR}"/${PN}.pdf
fi
}