diff options
author | Olivier Fisette <ribosome@gentoo.org> | 2005-09-08 02:49:42 +0000 |
---|---|---|
committer | Olivier Fisette <ribosome@gentoo.org> | 2005-09-08 02:49:42 +0000 |
commit | 4348f7a7fa895f5415c66b36668199eab7549d93 (patch) | |
tree | 9e0b439f0d1aefa8056f8c4c18f1ac5558bd8cea /sci-geosciences | |
parent | utilize the gif USE flag in configure too (diff) | |
download | gentoo-2-4348f7a7fa895f5415c66b36668199eab7549d93.tar.gz gentoo-2-4348f7a7fa895f5415c66b36668199eab7549d93.tar.bz2 gentoo-2-4348f7a7fa895f5415c66b36668199eab7549d93.zip |
Initial import. Thanks to Gérald Fenoy <djayweb@djayux.net> for his work.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'sci-geosciences')
-rw-r--r-- | sci-geosciences/gpsbabel/ChangeLog | 10 | ||||
-rw-r--r-- | sci-geosciences/gpsbabel/Manifest | 3 | ||||
-rw-r--r-- | sci-geosciences/gpsbabel/files/digest-gpsbabel-1.2.7 | 1 | ||||
-rw-r--r-- | sci-geosciences/gpsbabel/gpsbabel-1.2.7.ebuild | 71 | ||||
-rw-r--r-- | sci-geosciences/gpsbabel/metadata.xml | 5 |
5 files changed, 90 insertions, 0 deletions
diff --git a/sci-geosciences/gpsbabel/ChangeLog b/sci-geosciences/gpsbabel/ChangeLog new file mode 100644 index 000000000000..5ae1043e59cc --- /dev/null +++ b/sci-geosciences/gpsbabel/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sci-geosciences/gpsbabel +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsbabel/ChangeLog,v 1.1 2005/09/08 02:49:42 ribosome Exp $ + +*gpsbabel-1.2.7 (08 Sep 2005) + + 08 Sep 2005; Olivier Fisette <ribosome@gentoo.org> +metadata.xml, + +gpsbabel-1.2.7.ebuild: + Initial import. Thanks to Gérald Fenoy <djayweb@djayux.net> for his work. + diff --git a/sci-geosciences/gpsbabel/Manifest b/sci-geosciences/gpsbabel/Manifest new file mode 100644 index 000000000000..e884e239d601 --- /dev/null +++ b/sci-geosciences/gpsbabel/Manifest @@ -0,0 +1,3 @@ +MD5 39aa66c4f56b9d19d039b413668ec4e4 gpsbabel-1.2.7.ebuild 1849 +MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 +MD5 05edf04caf450a9db74d6d98fedc0269 files/digest-gpsbabel-1.2.7 67 diff --git a/sci-geosciences/gpsbabel/files/digest-gpsbabel-1.2.7 b/sci-geosciences/gpsbabel/files/digest-gpsbabel-1.2.7 new file mode 100644 index 000000000000..6c212107dc44 --- /dev/null +++ b/sci-geosciences/gpsbabel/files/digest-gpsbabel-1.2.7 @@ -0,0 +1 @@ +MD5 535da9798714e53a9584e22ac7d651d3 gpsbabel-1.2.7.tar.gz 1643528 diff --git a/sci-geosciences/gpsbabel/gpsbabel-1.2.7.ebuild b/sci-geosciences/gpsbabel/gpsbabel-1.2.7.ebuild new file mode 100644 index 000000000000..9a74d8583f12 --- /dev/null +++ b/sci-geosciences/gpsbabel/gpsbabel-1.2.7.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsbabel/gpsbabel-1.2.7.ebuild,v 1.1 2005/09/08 02:49:42 ribosome Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="GPSBabel converts waypoints, tracks, and routes from one format to another" + +HOMEPAGE="http://www.gpsbabel.org/" + +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" + +SLOT="0" + +KEYWORDS="~x86" + +IUSE="usb debug" + +DEPEND="dev-libs/expat + virtual/tetex + usb? (dev-libs/libusb) + debug? (dev-util/efence)" + +src_compile() { + cd "${S}" + local serror + serror="Unable to modify Makefile with sed" + if use debug; then + sed "s/# -lefence/-lefence/" -i Makefile || die "${serror} (efence)" + fi + if use usb; then + einfo "Usb support will be enabled" + else + sed "s/LIBUSB=/INHIBIT_USB=-DNO_USB\nLIBUSB=#/" -i Makefile || \ + die "${serror} (usb)" + fi + sed "s/OPTIMIZATION=-O/OPTIMIZATION=${CFLAGS} /" -i Makefile || \ + die "${serror} (optimization)" + + emake CC="$(tc-getCC)" || die "emake failed, see messages above" + + cd "${S}"/doc/ + make || die "Documentation generation failed" +} + +src_install() { + cd "${S}" + dobin gpsbabel || die "Unable to install gpsbabel binary" + dodoc README* COPYING ChangeLog || die "Unable to install gpsbabel doc" + + local DDIR + DDIR="/usr/share/doc/${PF}/samples" + sed -e "s:\./gpsbabel:gpsbabel:" \ + -e "s:reference:${DDIR}/reference:" \ + -i testc || die "${serror} (samples)" + insinto ${DDIR}/scripts + doins contrib/gpx2xfig testc || \ + die "Unable to install gpsbabel test scripts" + chmod 0755 "${D}"/${DDIR}/scripts/testc + for i in reference reference/route reference/track reference/gc; do + insinto ${DDIR}/${i} + doins ${i}/* || die "Unable to install samples from ${i} directory" + done + + cd "${S}"/doc/ + insinto /usr/share/doc/${PF}/manual + doins doc.dvi babelfront2.eps || \ + die "Unable to install gpsbabel documentation" +} diff --git a/sci-geosciences/gpsbabel/metadata.xml b/sci-geosciences/gpsbabel/metadata.xml new file mode 100644 index 000000000000..b229aec85b8f --- /dev/null +++ b/sci-geosciences/gpsbabel/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +</pkgmetadata> |