2012-01-21 20:52:37 +01:00
|
|
|
# Copyright 1999-2007 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsbabel/gpsbabel-1.3.3.ebuild,v 1.3 2007/07/18 02:02:04 cryos Exp $
|
|
|
|
|
|
|
|
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"
|
|
|
|
|
|
|
|
RDEPEND="usb? ( dev-libs/libusb )"
|
|
|
|
|
|
|
|
DEPEND="${RDEPEND}"
|
|
|
|
|
|
|
|
src_unpack(){
|
|
|
|
unpack ${A}
|
|
|
|
cd "${S}"
|
2012-01-21 21:01:01 +01:00
|
|
|
epatch "${FILESDIR}"/${PF}-add-xml-root.patch || die "Unable to apply ${PF}-add-xml-root.patch"
|
2012-01-21 20:52:37 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
src_compile() {
|
|
|
|
local myconf="";
|
|
|
|
econf ${myconf}
|
|
|
|
emake || die "emake failed"
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
cd "${S}"
|
|
|
|
make DESTDIR="${D}" install || die "Install failed"
|
|
|
|
}
|
|
|
|
|
|
|
|
#pkg_postinst(){
|
|
|
|
#}
|