2019-05-03 03:24:03 +02:00
|
|
|
# Copyright 1999-2019 Gentoo Authors
|
2014-06-30 14:04:47 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2016-09-02 00:50:35 +02:00
|
|
|
EAPI="6"
|
2014-06-30 14:04:47 +02:00
|
|
|
inherit eutils
|
|
|
|
|
|
|
|
DESCRIPTION="A free replacement for the Garmin browser plugin"
|
|
|
|
HOMEPAGE="http://www.andreas-diesner.de/garminplugin/"
|
|
|
|
|
2018-02-16 00:03:11 +01:00
|
|
|
SRC_URI="https://github.com/adiesner/GarminPlugin/tarball/V${PV} -> ${P}.tar.gz"
|
2015-10-05 15:22:28 +02:00
|
|
|
MY_S="adiesner-GarminPlugin-c610187"
|
|
|
|
S="${WORKDIR}/${MY_S}/src"
|
2014-06-30 14:04:47 +02:00
|
|
|
|
|
|
|
LICENSE="GPL-3"
|
|
|
|
|
|
|
|
SLOT="0"
|
2019-05-03 03:24:03 +02:00
|
|
|
RESTRICT="mirror"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
2014-06-30 14:04:47 +02:00
|
|
|
|
|
|
|
RDEPEND="sci-geosciences/garmintools
|
|
|
|
sci-geosciences/gpsbabel
|
|
|
|
dev-libs/tinyxml[stl]
|
2015-10-05 15:22:28 +02:00
|
|
|
virtual/libusb:0"
|
2014-06-30 14:04:47 +02:00
|
|
|
|
|
|
|
DEPEND="${RDEPEND}"
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
econf || die "econf failed"
|
|
|
|
}
|
|
|
|
|
|
|
|
src_compile() {
|
|
|
|
emake || die "emake failed"
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
mkdir -p "${D}/usr/lib/nsbrowser/plugins" || die "mkdir failed"
|
2015-10-05 15:22:28 +02:00
|
|
|
cp "${S}/npGarminPlugin.so" "${D}/usr/lib/nsbrowser/plugins/" || die "cp failed"
|
2014-06-30 14:04:47 +02:00
|
|
|
}
|