gentoo-overlay/sci-geosciences/garmintools/garmintools-0.10.ebuild

37 lines
681 B
Bash
Raw Normal View History

2019-05-03 03:25:48 +02:00
# Copyright 1999-2019 Gentoo Authors
2012-01-21 20:52:37 +01:00
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
2014-01-25 18:34:40 +01:00
2012-01-21 20:52:37 +01:00
inherit eutils
DESCRIPTION="A Linux interface to the Garmin Forerunner GPS units"
HOMEPAGE="https://github.com/fritteli/garmintools"
SRC_URI="https://github.com/fritteli/${PN}/archive/v${PV}.tar.gz"
2012-01-21 20:52:37 +01:00
LICENSE="GPL-2"
SLOT="0"
2019-05-03 03:25:48 +02:00
RESTRICT="mirror"
KEYWORDS="amd64 ~x86"
2012-01-21 20:52:37 +01:00
IUSE="usb"
2014-01-25 18:34:40 +01:00
RDEPEND="usb? ( virtual/libusb:1 )"
2012-01-21 20:52:37 +01:00
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}"/"${PF}"-add-xml-root.patch )
2015-10-02 14:38:22 +02:00
src_configure() {
2012-01-21 20:52:37 +01:00
local myconf="";
econf ${myconf}
2015-10-02 14:38:22 +02:00
}
src_compile() {
2012-01-21 20:52:37 +01:00
emake || die "emake failed"
}
src_install() {
make DESTDIR="${D}" install || die "Install failed"
}