added ebuild for garminplugin
This commit is contained in:
parent
2255db2fe8
commit
00823c0200
2 changed files with 45 additions and 0 deletions
2
sci-geosciences/garminplugin/Manifest
Normal file
2
sci-geosciences/garminplugin/Manifest
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
DIST garminplugin-0.3.3.tar.gz 123929 RMD160 c6cb323f8639b969a7817f67e7b86bde7a1e2405 SHA1 f2c4043b35bd2d38afd0ba8987a06561bea59186 SHA256 771c986076c9cd7743f0484379b076e9ad99ee9e051d366024179a1a76a24ec8
|
||||||
|
EBUILD garminplugin-0.3.3.ebuild 948 RMD160 4e8ec0375b4b628b6d0023f67339d94ba6e68a3e SHA1 602d2efea480dc5f5e89fb7082febc95fd0b679a SHA256 4c80d10fe24095753d1d61b87ddf8ec3ed1428183d9d0e4c43310739daf53097
|
43
sci-geosciences/garminplugin/garminplugin-0.3.3.ebuild
Normal file
43
sci-geosciences/garminplugin/garminplugin-0.3.3.ebuild
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
# Copyright 2011 Christian Wasserthal
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="2"
|
||||||
|
inherit eutils
|
||||||
|
|
||||||
|
DESCRIPTION="A free replacement for the Garmin browser plugin"
|
||||||
|
HOMEPAGE="http://www.andreas-diesner.de/garminplugin/"
|
||||||
|
|
||||||
|
SRC_URI="http://github.com/adiesner/GarminPlugin/tarball/V${PV} -> ${P}.tar.gz"
|
||||||
|
MY_S="adiesner-GarminPlugin-f2ebb7f"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
KEYWORDS="x86 amd64"
|
||||||
|
|
||||||
|
RDEPEND="sci-geosciences/garmintools
|
||||||
|
sci-geosciences/gpsbabel
|
||||||
|
dev-libs/tinyxml[stl]
|
||||||
|
dev-libs/libusb"
|
||||||
|
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
#src_unpack(){
|
||||||
|
# tar -zxf "${DISTDIR}/${A}" || die "unpack failed"
|
||||||
|
#}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
cd "${MY_S}/src" || die "barf"
|
||||||
|
econf || die "econf failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
cd "${MY_S}/src" || die "barf"
|
||||||
|
emake || die "emake failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
mkdir -p "${D}/usr/lib/nsbrowser/plugins" || die "mkdir failed"
|
||||||
|
cp "${MY_S}/src/npGarminPlugin.so" "${D}/usr/lib/nsbrowser/plugins/" || die "cp failed"
|
||||||
|
}
|
Loading…
Reference in a new issue