diff options
author | Hanno Böck <hanno@gentoo.org> | 2008-05-17 13:38:06 +0000 |
---|---|---|
committer | Hanno Böck <hanno@gentoo.org> | 2008-05-17 13:38:06 +0000 |
commit | cd70bf77ed3e45118219012fd7993618427252ca (patch) | |
tree | 37e72bd9e7d4dc3bacf0f72b0fe82aee2d4c5f4f /sci-geosciences | |
parent | Stable on alpha, bug #220911 (diff) | |
download | gentoo-2-cd70bf77ed3e45118219012fd7993618427252ca.tar.gz gentoo-2-cd70bf77ed3e45118219012fd7993618427252ca.tar.bz2 gentoo-2-cd70bf77ed3e45118219012fd7993618427252ca.zip |
gpsbabel version bump
(Portage version: 2.1.5)
Diffstat (limited to 'sci-geosciences')
-rw-r--r-- | sci-geosciences/gpsbabel/ChangeLog | 11 | ||||
-rw-r--r-- | sci-geosciences/gpsbabel/files/gpsbabel-1.3.5-dont-install-pdf.diff | 11 | ||||
-rw-r--r-- | sci-geosciences/gpsbabel/gpsbabel-1.3.5.ebuild | 61 |
3 files changed, 81 insertions, 2 deletions
diff --git a/sci-geosciences/gpsbabel/ChangeLog b/sci-geosciences/gpsbabel/ChangeLog index a2fb0ea83ea4..d2b1446fdc33 100644 --- a/sci-geosciences/gpsbabel/ChangeLog +++ b/sci-geosciences/gpsbabel/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sci-geosciences/gpsbabel -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsbabel/ChangeLog,v 1.12 2007/10/01 15:54:49 fmccor Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsbabel/ChangeLog,v 1.13 2008/05/17 13:38:06 hanno Exp $ + +*gpsbabel-1.3.5 (17 May 2008) + + 17 May 2008; Hanno Boeck <hanno@gentoo.org> + +files/gpsbabel-1.3.5-dont-install-pdf.diff, +gpsbabel-1.3.5.ebuild: + Version bump, first part of 1.3.3-patch is no longer needed, splittet out + second part. 01 Oct 2007; Ferris McCormick <fmccor@gentoo.org> gpsbabel-1.3.4.ebuild: Add ~sparc at user request, Bug #194397 -- runs test and installs. diff --git a/sci-geosciences/gpsbabel/files/gpsbabel-1.3.5-dont-install-pdf.diff b/sci-geosciences/gpsbabel/files/gpsbabel-1.3.5-dont-install-pdf.diff new file mode 100644 index 000000000000..28f9809b6402 --- /dev/null +++ b/sci-geosciences/gpsbabel/files/gpsbabel-1.3.5-dont-install-pdf.diff @@ -0,0 +1,11 @@ +--- Makefile.in 2007-02-26 01:37:15.000000000 +0100 ++++ Makefile.in 2007-03-01 15:06:48.000000000 +0100 +@@ -223,7 +223,7 @@ + readme.txt: gpsbabel.html + lynx -nolist -dump gpsbabel.html > $@ + +-doc: gpsbabel $(WEB)/htmldoc-$(DOCVERSION)/readme.html gpsbabel.pdf # readme.txt ++doc: gpsbabel $(WEB)/htmldoc-$(DOCVERSION)/readme.html #gpsbabel.pdf # readme.txt + + FORCE: + diff --git a/sci-geosciences/gpsbabel/gpsbabel-1.3.5.ebuild b/sci-geosciences/gpsbabel/gpsbabel-1.3.5.ebuild new file mode 100644 index 000000000000..a12a840fd249 --- /dev/null +++ b/sci-geosciences/gpsbabel/gpsbabel-1.3.5.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsbabel/gpsbabel-1.3.5.ebuild,v 1.1 2008/05/17 13:38:06 hanno Exp $ + +inherit eutils + +DESCRIPTION="GPSBabel is a waypoints, tracks and routes converter in variety of form" +HOMEPAGE="http://www.gpsbabel.org/" +SRC_URI="mirror://gentoo/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~sparc ~x86" +IUSE="doc usb debug" + +RDEPEND="dev-libs/expat + usb? ( dev-libs/libusb ) + debug? ( dev-util/efence )" +DEPEND="doc? ( virtual/tetex dev-libs/libxslt dev-libs/libxml2 dev-lang/perl ) + ${RDEPEND}" + +src_unpack(){ + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-dont-install-pdf.diff" + epatch "${FILESDIR}/${PN}-1.3.3-freebsd.patch" +} + +src_compile() { + local myconf=""; + if ! use usb;then + myconf="${myconf} --with-libusb=no" + fi + if use doc; then + myconf="${myconf} --with-doc=${S}/doc/manual" + fi + econf ${myconf} $(use_enable debug efence) || die + emake || die "emake failed" + if use doc; then + emake doc || die "Documentation generation failed" + cd "${S}/doc" + make || die "Documentation generation failed" + fi +} + +src_install() { + make DESTDIR="${D}" install || die "Install failed" + dodoc README* || die "Unable to install gpsbabel doc" + if use doc; then + cd "${S}"/doc/ + dohtml ./manual/htmldoc-${PV}/* || die "Unable to install htmldoc" + docinto manual + dodoc doc.dvi babelfront2.eps || \ + die "Unable to install gpsbabel documentation" + fi +} + +pkg_postinst(){ + if use debug; then + einfo "If you need to debug gpsbabel, please use : gpsbabel-debug" + fi +} |