gentoo-overlay/sci-geosciences/garmintools/garmintools-0.10.ebuild
Manuel Friedli 1f09d18e17 sci-geosciences/garmintools:
fixed garmintools ebuild for EAPI="6" and for missing source tarball

Package-Manager: portage-2.2.28
2016-09-05 23:17:07 +02:00

37 lines
674 B
Bash

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="6"
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"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 amd64"
IUSE="usb"
RDEPEND="usb? ( virtual/libusb:1 )"
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}"/"${PF}"-add-xml-root.patch )
src_configure() {
local myconf="";
econf ${myconf}
}
src_compile() {
emake || die "emake failed"
}
src_install() {
make DESTDIR="${D}" install || die "Install failed"
}