Manuel Friedli
1f09d18e17
fixed garmintools ebuild for EAPI="6" and for missing source tarball Package-Manager: portage-2.2.28
37 lines
674 B
Bash
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"
|
|
}
|