gentoo-overlay/sci-geosciences/garminplugin/garminplugin-0.3.27.ebuild

39 lines
839 B
Bash
Raw Normal View History

2018-02-16 00:00:19 +01:00
# Copyright 1999-2018 Gentoo Foundation
2014-06-30 14:04:47 +02:00
# Distributed under the terms of the GNU General Public License v2
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"
MY_S="adiesner-GarminPlugin-c610187"
S="${WORKDIR}/${MY_S}/src"
2014-06-30 14:04:47 +02:00
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86 ~amd64"
2014-06-30 14:04:47 +02:00
RDEPEND="sci-geosciences/garmintools
sci-geosciences/gpsbabel
dev-libs/tinyxml[stl]
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"
cp "${S}/npGarminPlugin.so" "${D}/usr/lib/nsbrowser/plugins/" || die "cp failed"
2014-06-30 14:04:47 +02:00
}