diff options
author | Christian Faulhammer <fauli@gentoo.org> | 2009-02-02 17:18:48 +0000 |
---|---|---|
committer | Christian Faulhammer <fauli@gentoo.org> | 2009-02-02 17:18:48 +0000 |
commit | 26c87cbf5945bbd9dd7ee33c27632721ee1c1abd (patch) | |
tree | 37759baefdb98579d366b0a4e367a08bc523ce6f /sci-geosciences/gpsbabel | |
parent | Version Bump (diff) | |
download | gentoo-2-26c87cbf5945bbd9dd7ee33c27632721ee1c1abd.tar.gz gentoo-2-26c87cbf5945bbd9dd7ee33c27632721ee1c1abd.tar.bz2 gentoo-2-26c87cbf5945bbd9dd7ee33c27632721ee1c1abd.zip |
version bump: Ebuild changes include port to EAPI=2, proper dependencies for USE=doc, make use of system's zlib instead of a bundled one, generation and installation of the PDF manual plus some more revamping. This fixes bug 250255 and bug 251619
(Portage version: 2.1.6.4/cvs/Linux 2.6.27-gentoo-r8 i686)
Diffstat (limited to 'sci-geosciences/gpsbabel')
-rw-r--r-- | sci-geosciences/gpsbabel/ChangeLog | 11 | ||||
-rw-r--r-- | sci-geosciences/gpsbabel/gpsbabel-1.3.6.ebuild | 55 |
2 files changed, 65 insertions, 1 deletions
diff --git a/sci-geosciences/gpsbabel/ChangeLog b/sci-geosciences/gpsbabel/ChangeLog index f5bbc05ccb13..93b44e059e7c 100644 --- a/sci-geosciences/gpsbabel/ChangeLog +++ b/sci-geosciences/gpsbabel/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for sci-geosciences/gpsbabel # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsbabel/ChangeLog,v 1.15 2009/01/09 22:36:26 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsbabel/ChangeLog,v 1.16 2009/02/02 17:18:48 fauli Exp $ + +*gpsbabel-1.3.6 (02 Feb 2009) + + 02 Feb 2009; Christian Faulhammer <fauli@gentoo.org> + +gpsbabel-1.3.6.ebuild: + version bump: Ebuild changes include port to EAPI=2, proper dependencies + for USE=doc, make use of system's zlib instead of a bundled one, + generation and installation of the PDF manual plus some more revamping. + This fixes bug 250255 and bug 251619 09 Jan 2009; Joseph Jezak <josejx@gentoo.org> gpsbabel-1.3.5.ebuild: Marked ~ppc for bug #253303. diff --git a/sci-geosciences/gpsbabel/gpsbabel-1.3.6.ebuild b/sci-geosciences/gpsbabel/gpsbabel-1.3.6.ebuild new file mode 100644 index 000000000000..e6f3d57bbcec --- /dev/null +++ b/sci-geosciences/gpsbabel/gpsbabel-1.3.6.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsbabel/gpsbabel-1.3.6.ebuild,v 1.1 2009/02/02 17:18:48 fauli Exp $ + +EAPI=2 + +DESCRIPTION="GPS waypoints, tracks and routes converter" +HOMEPAGE="http://www.gpsbabel.org/" +SRC_URI="http://www.gpsbabel.org/plan9.php?dl=${P}.tar.gz -> ${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc usb debug" + +RDEPEND="dev-libs/expat + usb? ( dev-libs/libusb ) + debug? ( dev-util/efence )" +DEPEND="doc? ( dev-java/fop + virtual/latex-base + dev-libs/libxslt + dev-libs/libxml2 + dev-lang/perl + app-text/docbook-xml-dtd:4.1.2 ) + ${RDEPEND}" + +src_configure() { + econf $(use_with doc doc "${S}"/doc/manual) $(use_with usb libusb) \ + $(use_enable debug efence) --with-zlib=system || die +} + +src_compile() { + emake || die + if use doc; then + emake doc || die + cd "${S}/doc" + emake || die + fi +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc README* || die + if use doc; then + cd "${S}"/doc/ + dohtml ./manual/htmldoc-development/* || die + docinto manual + dodoc doc.dvi babelfront2.eps ../gpsbabel.pdf || die + fi +} + +pkg_postinst(){ + if use debug; then + einfo "If you need to debug gpsbabel, please use : gpsbabel-debug" + fi +} |