summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-09-04 19:11:51 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-09-04 19:11:51 +0000
commitd7f2e6b347ad03dd4a113360660b09b8c8f364db (patch)
tree488477611024f2fb32227c5e0bfd45b23bac10a4 /packaging
parent69db57a927b236c26dd55345c8dfa34b9bb48584 (diff)
downloadgpsd-d7f2e6b347ad03dd4a113360660b09b8c8f364db.tar.gz
Reorganize, moving a rarely-used/semi-obsolescent stuff into subdirectories.
Diffstat (limited to 'packaging')
-rw-r--r--packaging/gpsd.ebuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/packaging/gpsd.ebuild b/packaging/gpsd.ebuild
new file mode 100644
index 00000000..f589f155
--- /dev/null
+++ b/packaging/gpsd.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2005 Amaury Jacquot
+# Author: Amaury Jacquot <sxpert@esitcom.org>
+
+DESCRIPTION="gpsd is a daemon that listens to a GPS or Loran receiver and
+translates the positional data into a simplified format that can be more easily
+used by other programs like chart plotters. The package comes with a sample
+client that plots the location of the currently visible GPS satellites (if
+available) and a speedometer. It can also use DGPS/ip, and run as a DGPS/ip
+server, and, if the PPS signal is available, be used for NTP synchronization"
+HOMEPAGE="http://gpsd.berlios.de"
+SRC_URI="http://download.berlios.de/gpsd/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="x86 ppc sparc amd64 alpha"
+
+IUSE="motif"
+DEPEND="motif? (=x11-libs/openmotif)"
+
+src_compile() {
+ econf \
+ $(use_with motif x) \
+ || die "econf failed"
+ emake || die "compile failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install
+}