# ChangeLog for sci-geosciences/gpsbabel
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsbabel/ChangeLog,v 1.4 2006/09/30 21:32:20 djay Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsbabel/ChangeLog,v 1.5 2006/11/24 21:43:08 djay Exp $
+
+*gpsbabel-1.3.2 (24 Nov 2006)
+
+ 24 Nov 2006; <djay@gentoo.org> +files/gpsbabel-1.3.2.patch,
+ +gpsbabel-1.3.2.ebuild:
+ Version bump, thanks to Alistair Boyle <sail.not.swim@gmail.com> for his
+ reminder (bug #155185)
*gpsbabel-1.3.1 (30 Sep 2006)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX gpsbabel-1.3.2.patch 866 RMD160 ef9c40085c0a336f534df71130104bfd49d31cdc SHA1 72f0b3736935787692cd6bd3427b3e952f4171ae SHA256 1d7f0c9f76a7bad6a2ba31f135492d9f246ec6cb3c538aaf1d348673d035cce1
+MD5 c7df9d8072d7a361fba8d48ddb5bb228 files/gpsbabel-1.3.2.patch 866
+RMD160 ef9c40085c0a336f534df71130104bfd49d31cdc files/gpsbabel-1.3.2.patch 866
+SHA256 1d7f0c9f76a7bad6a2ba31f135492d9f246ec6cb3c538aaf1d348673d035cce1 files/gpsbabel-1.3.2.patch 866
AUX gpsbabel.patch 4152 RMD160 80ce09ad3870152b34d1ef022a80dd07340d9ed4 SHA1 a702de2099c79073911a38d88b12be6285eaef0a SHA256 f4bb8891edabfa8b0add8599437020bdf76db45a1e441fd8033e40ecc07f58dc
MD5 06314d17c48ab41aca4c829a5da86b37 files/gpsbabel.patch 4152
RMD160 80ce09ad3870152b34d1ef022a80dd07340d9ed4 files/gpsbabel.patch 4152
SHA256 f4bb8891edabfa8b0add8599437020bdf76db45a1e441fd8033e40ecc07f58dc files/gpsbabel.patch 4152
DIST gpsbabel-1.2.7.tar.gz 1643528 RMD160 bb4c1323bca8fcf0b6facbb11df37bfb611eada2 SHA1 3dec539a185c7ef5b071936a7fc07cbcd67f655d SHA256 08a28e8fb6e04eab170c8983da1601a2636a2a27f4d9aca90e3048c3e15f9d02
DIST gpsbabel-1.3.1.tar.gz 2817202 RMD160 d428a9937d004258319e8e27e92407feb8dfe97b SHA1 2b406180a51346de9aefb6be161cea17129911b8 SHA256 07ac75975166616af4134b72efeda23d47be992cee875faa46b1bdee0b8afd57
+DIST gpsbabel-1.3.2.tar.gz 2983808 RMD160 0f0c05e67eaa77f8325b22ac8ed874ac5cee28e7 SHA1 4f061c77505000b918d476f99a115af9a5d412c3 SHA256 31c4991810eb12744c2c908b2b7efa6f311a0bfe5e36f8cc2b1c545bede9c045
EBUILD gpsbabel-1.2.7.ebuild 1999 RMD160 f99e947525a2ac02fadbb78e722af049a4371c1c SHA1 82ee3304c53ab7c43c10b65a3630d4035abd1475 SHA256 e58cd86f3dcbd238184d4380a891e00b87be88b888b565fa9edfc4610d13970e
MD5 3f2eb2ab4ba20e446e55dfed1d9e7faa gpsbabel-1.2.7.ebuild 1999
RMD160 f99e947525a2ac02fadbb78e722af049a4371c1c gpsbabel-1.2.7.ebuild 1999
MD5 528aa9cfae5f761476ccf9864e35442e gpsbabel-1.3.1.ebuild 1726
RMD160 4224c7037b588ce09dd36eaefe27d7b73825b9ab gpsbabel-1.3.1.ebuild 1726
SHA256 27c0be87ff2d07f5130814da1e63722231c59cbaeb4bcdd687b5d63d6c7a35a6 gpsbabel-1.3.1.ebuild 1726
-MISC ChangeLog 746 RMD160 481886ea8ac27c7518701a0527bc8d346cab52e7 SHA1 87b59d889ee56a6d6c39fedf35cf65ff673bcaad SHA256 ab70100ccb8162b1da4210748625675f78d6d8c54a12db2a74d892d2762569db
-MD5 2f896708f11e70adcf36be25b417f5e8 ChangeLog 746
-RMD160 481886ea8ac27c7518701a0527bc8d346cab52e7 ChangeLog 746
-SHA256 ab70100ccb8162b1da4210748625675f78d6d8c54a12db2a74d892d2762569db ChangeLog 746
+EBUILD gpsbabel-1.3.2.ebuild 1643 RMD160 57637678295532859c905674efcdc0679b19f57c SHA1 62fc71a29f8971a84856d0a8c4f57ce0385deb6e SHA256 33c0275f9392e1dd376f55f2f00aaf459075c87d79b4cba13310581a8281f150
+MD5 abff95fc37549e4c0605678057de8f58 gpsbabel-1.3.2.ebuild 1643
+RMD160 57637678295532859c905674efcdc0679b19f57c gpsbabel-1.3.2.ebuild 1643
+SHA256 33c0275f9392e1dd376f55f2f00aaf459075c87d79b4cba13310581a8281f150 gpsbabel-1.3.2.ebuild 1643
+MISC ChangeLog 966 RMD160 a8daa4d9e6837b2dab159a05e8b47535b50f9f31 SHA1 f181fd3dbdcc5cea89113d1381fc2aa146ba8f1f SHA256 b3ef1009135dd972b3525e726460fec66fc9ddcc178ef35e55ed6cdb4fb766bf
+MD5 b051c3e6e0580a7035e50d5ac98b1715 ChangeLog 966
+RMD160 a8daa4d9e6837b2dab159a05e8b47535b50f9f31 ChangeLog 966
+SHA256 b3ef1009135dd972b3525e726460fec66fc9ddcc178ef35e55ed6cdb4fb766bf ChangeLog 966
MISC metadata.xml 168 RMD160 156c29f9b364fbbaf0028d17736a01112e5d8cab SHA1 1221e73982792f6e23f10d95e878e86e8f62fe35 SHA256 2fc15316b226307080574c36b3761f27a23a642e89c60f02feabdc64049a188d
MD5 398851fd6e5d040b232773963c208fc6 metadata.xml 168
RMD160 156c29f9b364fbbaf0028d17736a01112e5d8cab metadata.xml 168
MD5 28f55e2406846e409201f6aee53c4404 files/digest-gpsbabel-1.3.1 247
RMD160 01380dd5b70a0427470c46ce85a434ce5e604f88 files/digest-gpsbabel-1.3.1 247
SHA256 a3e7555396d980a13aee66b725c762df9266695580f61de63e6dcf27236a5841 files/digest-gpsbabel-1.3.1 247
+MD5 6776643d08ffe609c7d57da868bb0e3f files/digest-gpsbabel-1.3.2 247
+RMD160 530f7ca3fa8545a651753ba1d864a3eccfacadcf files/digest-gpsbabel-1.3.2 247
+SHA256 387b8f3f7b3772d9d33a0ac5e4fb0c272d0e6bbb6f2f67a0ae1615e0041a592e files/digest-gpsbabel-1.3.2 247
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
-iD8DBQFFLQU2GG5LT2KRH24RAs9HAJ9b/I3gkWOG2XihxKO0z8vuhKJbmgCdHr2r
-nnQGaIz6e16Ys0FyIdPrctQ=
-=2UWa
+iD8DBQFFZ2eoGG5LT2KRH24RAobCAJsHeu7MGl/073qr4f46DO7bWz0e1QCfbe/v
+qjRfv8XlCJEVFT2C1H4iePY=
+=5qgx
-----END PGP SIGNATURE-----
--- /dev/null
+diff -ru ./Makefile.in ./Makefile.in
+--- ./Makefile.in 2006-11-06 00:54:07.000000000 +0100
++++ ./Makefile.in 2006-11-24 22:01:04.000000000 +0100
+@@ -36,7 +36,8 @@
+ GBCFLAGS=$(EXTRA_CFLAGS) $(DEBUGGING) -I. -I@srcdir@/coldsync \
+ $(OPTIMIZATION) @CFLAGS@
+ LDFLAGS=$(EXTRA_LDFLAGS) @LDFLAGS@
+-DESTDIR=/usr/local/
++PREFIX=@prefix@
++INSTALL_DIR=$(DESTDIR)/$(PREFIX)
+
+ # OTHER_ROOT=/opt/local # For DarwinPorts on OSX
+ # OTHER_ROOT=/sw # Uncomment For Fink on OS X.
+@@ -136,10 +137,12 @@
+ # This will only work on UNIX-like substances.
+ #
+ install: @INSTALL_DEBUG@
+- install gpsbabel $(DESTDIR)/bin
++ @mkdir -p $(INSTALL_DIR)/bin
++ install gpsbabel $(INSTALL_DIR)/bin/
+
+ install-debug:
+- install gpsbabel-debug $(DESTDIR)/bin
++ @mkdir -p $(INSTALL_DIR)/bin
++ install gpsbabel-debug $(INSTALL_DIR)/bin/
+
+ # Nerdy release stuff that needs to work only on Linux.
+
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsbabel/gpsbabel-1.3.2.ebuild,v 1.1 2006/11/24 21:43:08 djay Exp $
+
+inherit eutils autotools
+
+DESCRIPTION="GPSBabel is a waypoints, tracks and routes converter in variety of form"
+
+HOMEPAGE="http://www.gpsbabel.org/"
+
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+
+SLOT="0"
+
+KEYWORDS="~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}"/gpsbabel-${PV}.patch || die "Unable to apply gpsbabel.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
+ eautoconf
+ econf ${myconf} $(use_enable debug efence)
+ 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() {
+ cd "${S}"
+ 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 gpsbabel in debuging mode, use : gpsbabel-debug"
+ fi
+}