sci-geosciences/garmintools:

fixed garmintools ebuild for EAPI="6" and for missing source tarball

Package-Manager: portage-2.2.28
This commit is contained in:
Manuel Friedli 2016-09-05 23:17:07 +02:00
parent 378f00a9f8
commit 1f09d18e17
4 changed files with 14 additions and 20 deletions

View file

@ -7,8 +7,8 @@ EAPI="6"
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"
HOMEPAGE="https://github.com/fritteli/garmintools"
SRC_URI="https://github.com/fritteli/${PN}/archive/v${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
@ -21,15 +21,7 @@ RDEPEND="usb? ( virtual/libusb:1 )"
DEPEND="${RDEPEND}"
src_prepare() {
epatch "${FILESDIR}"/"${PF}"-add-xml-root.patch || die "Unable to apply ${PF}-add-xml-root.patch"
}
#src_unpack(){
# unpack ${A}
# cd "${S}"
# epatch "${FILESDIR}"/${PF}-add-xml-root.patch || die "Unable to apply ${PF}-add-xml-root.patch"
#}
PATCHES=( "${FILESDIR}"/"${PF}"-add-xml-root.patch )
src_configure() {
local myconf="";
@ -43,6 +35,3 @@ src_compile() {
src_install() {
make DESTDIR="${D}" install || die "Install failed"
}
#pkg_postinst(){
#}