diff options
author | jschauma <jschauma@pkgsrc.org> | 2003-10-04 20:57:47 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2003-10-04 20:57:47 +0000 |
commit | 185b7c6c40d89043a3a7a179faeab00f3403ab4c (patch) | |
tree | 8bae8298cb21877e9b17e6b85f97a8b912a6f025 /geography/gpsutils | |
parent | 2452458b959ec6d8e5f228f25c8ef901d1bd0c75 (diff) | |
download | pkgsrc-185b7c6c40d89043a3a7a179faeab00f3403ab4c.tar.gz |
Initial import of gpsutils, one of the many packages provided by
brook at biology dot nmsu dot edu and his team at NMSU.
The gpsutils package covers some small applications to capture and convert
data from a Garmin GPS receiver. These are based on a included more general
GPS library (in C).
Diffstat (limited to 'geography/gpsutils')
-rw-r--r-- | geography/gpsutils/DESCR | 3 | ||||
-rw-r--r-- | geography/gpsutils/Makefile | 20 | ||||
-rw-r--r-- | geography/gpsutils/PLIST | 4 | ||||
-rw-r--r-- | geography/gpsutils/distinfo | 7 | ||||
-rw-r--r-- | geography/gpsutils/patches/patch-aa | 13 | ||||
-rw-r--r-- | geography/gpsutils/patches/patch-ab | 38 | ||||
-rw-r--r-- | geography/gpsutils/patches/patch-ac | 12 |
7 files changed, 97 insertions, 0 deletions
diff --git a/geography/gpsutils/DESCR b/geography/gpsutils/DESCR new file mode 100644 index 00000000000..5e6bc6f7763 --- /dev/null +++ b/geography/gpsutils/DESCR @@ -0,0 +1,3 @@ +The gpsutils package covers some small applications to capture and convert +data from a Garmin GPS receiver. These are based on a included more general +GPS library (in C). diff --git a/geography/gpsutils/Makefile b/geography/gpsutils/Makefile new file mode 100644 index 00000000000..09a01604df5 --- /dev/null +++ b/geography/gpsutils/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/10/04 20:57:47 jschauma Exp $ +# + +DISTNAME= gpsutils-0.4.0 +WRKSRC= ${WRKDIR}/gpsutils-0.4.0/src +CATEGORIES= gis +MASTER_SITES= http://www.wombat.ie/gps/ + +MAINTAINER= hdp@cs.nmsu.edu +HOMEPAGE= http://www.wombat.ie/gps/ +COMMENT= Capture and convert data from a Garmin GPS receiver + +USE_BUILDLINK2= yes + +do-install: +.for PROGRAM in capture switchmode gbindiff + ${INSTALL_PROGRAM} ${WRKSRC}/${PROGRAM} ${PREFIX}/bin +.endfor + +.include "../../mk/bsd.pkg.mk" diff --git a/geography/gpsutils/PLIST b/geography/gpsutils/PLIST new file mode 100644 index 00000000000..34eca1e17e8 --- /dev/null +++ b/geography/gpsutils/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/10/04 20:57:48 jschauma Exp $ +bin/capture +bin/gbindiff +bin/switchmode diff --git a/geography/gpsutils/distinfo b/geography/gpsutils/distinfo new file mode 100644 index 00000000000..fc87104ed8f --- /dev/null +++ b/geography/gpsutils/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/10/04 20:57:48 jschauma Exp $ + +SHA1 (gpsutils-0.4.0.tar.gz) = 1440cab5a5e2dce35d8a6da837e6ee84abf4b465 +Size (gpsutils-0.4.0.tar.gz) = 2013739 bytes +SHA1 (patch-aa) = ffd2a160c2da57d3649196aeebdfc3dd4a35e305 +SHA1 (patch-ab) = 7c1cf13030a6e4c86ce118de6683b8e799ffff06 +SHA1 (patch-ac) = 4e6fc9ba16c787109c906529fb2bbd7436b7b217 diff --git a/geography/gpsutils/patches/patch-aa b/geography/gpsutils/patches/patch-aa new file mode 100644 index 00000000000..d0bb47bc7b2 --- /dev/null +++ b/geography/gpsutils/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2003/10/04 20:57:49 jschauma Exp $ + +--- siolib.c.orig Tue Jul 1 14:51:55 2003 ++++ siolib.c +@@ -163,7 +163,7 @@ int sio_rawmode (int fd) + /* no SIGINT on break, CR-to-NL off, input parity check off + * don't strip 8th bit on input, output flow control off + */ +- tios.c_iflag &= ~(BRKINT | ICRNL | INPCK | ISTRIP | IXON | IXOFF | IUCLC); ++ tios.c_iflag &= ~(BRKINT | ICRNL | INPCK | ISTRIP | IXON | IXOFF ); + + /* reset char size field, no parity*/ + tios.c_cflag &= ~(CSIZE | PARENB); diff --git a/geography/gpsutils/patches/patch-ab b/geography/gpsutils/patches/patch-ab new file mode 100644 index 00000000000..86eb0c886e6 --- /dev/null +++ b/geography/gpsutils/patches/patch-ab @@ -0,0 +1,38 @@ +$NetBSD: patch-ab,v 1.1.1.1 2003/10/04 20:57:49 jschauma Exp $ + +--- Makefile.orig 2003-10-04 16:12:55.000000000 -0400 ++++ Makefile 2003-10-04 16:14:11.000000000 -0400 +@@ -1,6 +1,6 @@ + +-CC = gcc +-CFLAGS = -Wall -DDEBUG=0 ++#CC = gcc ++CFLAGS += -Wall -DDEBUG=0 + + all: libgps.o garmin.o garminbin capture switchmode gbindiff + +@@ -18,19 +18,19 @@ + testlibgps.o: testlibgps.c libgps.c libgps.h + + garminbin: garminbin.o libgps.o +- gcc -o garminbin garminbin.o libgps.o garmin.o -lm ++ ${CC} -o garminbin garminbin.o libgps.o garmin.o ${LDFLAGS} -lm + + gbindiff: gbindiff.o garmin.o libgps.o +- gcc -o gbindiff gbindiff.o garmin.o libgps.o -lm ++ ${CC} -o gbindiff gbindiff.o garmin.o libgps.o ${LDFLAGS} -lm + + oldgarminbin: oldgarminbin.o libgps.o +- gcc -o oldgarminbin oldgarminbin.o libgps.o garmin.o -lm ++ ${CC} -o oldgarminbin oldgarminbin.o libgps.o garmin.o ${LDFLAGS} -lm + + capture: capture.o siolib.o +- gcc -o capture capture.o siolib.o ++ ${CC} -o capture capture.o siolib.o ${LDFLAGS} + + switchmode: switchmode.o siolib.o +- gcc -o switchmode switchmode.o siolib.o ++ ${CC} -o switchmode switchmode.o siolib.o ${LDFLAGS} + + + clean: diff --git a/geography/gpsutils/patches/patch-ac b/geography/gpsutils/patches/patch-ac new file mode 100644 index 00000000000..7928e48cf4d --- /dev/null +++ b/geography/gpsutils/patches/patch-ac @@ -0,0 +1,12 @@ +$NetBSD: patch-ac,v 1.1.1.1 2003/10/04 20:57:49 jschauma Exp $ + +--- capture.c.orig 2003-10-04 16:27:42.000000000 -0400 ++++ capture.c 2003-10-04 16:28:29.000000000 -0400 +@@ -127,6 +127,7 @@ + if (fp==NULL) + { + fprintf (stderr,"error opening dleph.txt\n"); ++ exit(1); + } + n = fread (buf, 1, 32, fp); + fclose (fp); |