summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2007-08-23 22:46:39 +0000
committerHanno Böck <hanno@gentoo.org>2007-08-23 22:46:39 +0000
commitbbca11df579edd80246ecd200400a596e0cac08c (patch)
treeff85bd29132066199150f0e9b831f0aed54ccbdc /sci-geosciences
parentVersion bump (diff)
downloadgentoo-2-bbca11df579edd80246ecd200400a596e0cac08c.tar.gz
gentoo-2-bbca11df579edd80246ecd200400a596e0cac08c.tar.bz2
gentoo-2-bbca11df579edd80246ecd200400a596e0cac08c.zip
gpsbabel bump
(Portage version: 2.1.3.6)
Diffstat (limited to 'sci-geosciences')
-rw-r--r--sci-geosciences/gpsbabel/ChangeLog8
-rw-r--r--sci-geosciences/gpsbabel/files/digest-gpsbabel-1.3.43
-rw-r--r--sci-geosciences/gpsbabel/files/gpsbabel-1.3.3-freebsd.patch21
-rw-r--r--sci-geosciences/gpsbabel/gpsbabel-1.3.4.ebuild62
4 files changed, 93 insertions, 1 deletions
diff --git a/sci-geosciences/gpsbabel/ChangeLog b/sci-geosciences/gpsbabel/ChangeLog
index 56d6dccecad9..5c3753b08415 100644
--- a/sci-geosciences/gpsbabel/ChangeLog
+++ b/sci-geosciences/gpsbabel/ChangeLog
@@ -1,6 +1,12 @@
# 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.10 2007/07/18 02:02:04 cryos Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsbabel/ChangeLog,v 1.11 2007/08/23 22:46:39 hanno Exp $
+
+*gpsbabel-1.3.4 (23 Aug 2007)
+
+ 23 Aug 2007; Hanno Boeck <hanno@gentoo.org>
+ +files/gpsbabel-1.3.3-freebsd.patch, +gpsbabel-1.3.4.ebuild:
+ Version bump and FreeBSD-fix.
18 Jul 2007; Marcus D. Hanwell <cryos@gentoo.org>
-files/gpsbabel-1.3.2.patch, -files/gpsbabel.patch,
diff --git a/sci-geosciences/gpsbabel/files/digest-gpsbabel-1.3.4 b/sci-geosciences/gpsbabel/files/digest-gpsbabel-1.3.4
new file mode 100644
index 000000000000..3a689a0743b3
--- /dev/null
+++ b/sci-geosciences/gpsbabel/files/digest-gpsbabel-1.3.4
@@ -0,0 +1,3 @@
+MD5 edb2a92d7d02ef1c197ce870608fc270 gpsbabel-1.3.4.tar.gz 3547058
+RMD160 2391f0b3aef271567808edbed6fc2c481d5514ea gpsbabel-1.3.4.tar.gz 3547058
+SHA256 97947ee6704d3de005ce80cfa97689c7efa9edb4a53f725e76e9d5a7c1598ff9 gpsbabel-1.3.4.tar.gz 3547058
diff --git a/sci-geosciences/gpsbabel/files/gpsbabel-1.3.3-freebsd.patch b/sci-geosciences/gpsbabel/files/gpsbabel-1.3.3-freebsd.patch
new file mode 100644
index 000000000000..adf88118e287
--- /dev/null
+++ b/sci-geosciences/gpsbabel/files/gpsbabel-1.3.3-freebsd.patch
@@ -0,0 +1,21 @@
+--- configure.orig 2007-02-25 16:24:09 -0700
++++ configure 2007-05-12 23:54:11 -0600
+@@ -3173,6 +3173,8 @@
+ xpathdr=/sw/include/
+ fi
+ ;;
++ *-gentoo-freebsd*)
++ ;;
+ *-*-freebsd*)
+ if test -f /usr/local/include/expat.h ; then
+ xpathdr=/usr/local/include
+@@ -3211,6 +3213,9 @@
+
+ fi
+ ;;
++ *-gentoo-freebsd*)
++ EXPAT_LIB=-lexpat
++ ;;
+ *-*-freebsd*)
+ if test -f /usr/local/lib/libexpat.a ; then
+ EXPAT_LIB=/usr/local/lib/libexpat.a
diff --git a/sci-geosciences/gpsbabel/gpsbabel-1.3.4.ebuild b/sci-geosciences/gpsbabel/gpsbabel-1.3.4.ebuild
new file mode 100644
index 000000000000..34da486f14b9
--- /dev/null
+++ b/sci-geosciences/gpsbabel/gpsbabel-1.3.4.ebuild
@@ -0,0 +1,62 @@
+# 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.4.ebuild,v 1.1 2007/08/23 22:46:39 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://sourceforge/${PN}/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~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}/${PN}-1.3.3.patch"
+ 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() {
+ 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 to debug gpsbabel, please use : gpsbabel-debug"
+ fi
+}