2016-09-02 00:51:21 +02:00
|
|
|
# Copyright 1999-2016 Gentoo Foundation
|
2012-01-21 20:52:37 +01:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2015-10-02 16:58:12 +02:00
|
|
|
# $Id$
|
2012-01-21 20:52:37 +01:00
|
|
|
|
2016-09-02 00:51:21 +02:00
|
|
|
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="http://code.google.com/p/garmintools/"
|
|
|
|
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
|
|
|
|
SLOT="0"
|
|
|
|
|
2013-10-20 16:58:36 +02:00
|
|
|
KEYWORDS="~x86 amd64"
|
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}"
|
|
|
|
|
2015-10-02 14:38:22 +02:00
|
|
|
src_prepare() {
|
|
|
|
epatch "${FILESDIR}"/"${PF}"-add-xml-root.patch || die "Unable to apply ${PF}-add-xml-root.patch"
|
2012-01-21 20:52:37 +01:00
|
|
|
}
|
|
|
|
|
2015-10-02 14:38:22 +02:00
|
|
|
#src_unpack(){
|
|
|
|
# unpack ${A}
|
|
|
|
# cd "${S}"
|
|
|
|
# epatch "${FILESDIR}"/${PF}-add-xml-root.patch || die "Unable to apply ${PF}-add-xml-root.patch"
|
|
|
|
#}
|
|
|
|
|
|
|
|
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"
|
|
|
|
}
|
|
|
|
|
|
|
|
#pkg_postinst(){
|
|
|
|
#}
|