aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes/gpsd/gpsd-2.95/libtool.patch16
-rw-r--r--recipes/gpsd/gpsd_2.95.bb14
2 files changed, 30 insertions, 0 deletions
diff --git a/recipes/gpsd/gpsd-2.95/libtool.patch b/recipes/gpsd/gpsd-2.95/libtool.patch
new file mode 100644
index 0000000000..7b78a72d84
--- /dev/null
+++ b/recipes/gpsd/gpsd-2.95/libtool.patch
@@ -0,0 +1,16 @@
+Index: gpsd-2.95/Makefile.am
+===================================================================
+--- gpsd-2.95.orig/Makefile.am 2010-08-26 15:31:38.804330723 +0200
++++ gpsd-2.95/Makefile.am 2010-08-26 15:31:57.170020341 +0200
+@@ -253,9 +253,9 @@
+ # Warning: This overrides autoconf's normal link-line generation process
+ if LIBGPSMM_ENABLE
+ libgps_la_SOURCES += libgpsmm.cpp
+-libgps_la_LINK = /bin/sh ./libtool --tag=CXX --mode=link g++ $(libgps_la_LDFLAGS) -o $@
++libgps_la_LINK = $(LIBTOOL) --tag=CXX --mode=link g++ $(libgps_la_LDFLAGS) -o $@
+ else
+-libgps_la_LINK = /bin/sh ./libtool --tag=CC --mode=link gcc $(libgps_la_LDFLAGS) -o $@
++libgps_la_LINK = $(LIBTOOL) --tag=CC --mode=link gcc $(libgps_la_LDFLAGS) -o $@
+ endif
+
+ nodist_libgpsd_la_SOURCES = packet_names.h ais_json.i
diff --git a/recipes/gpsd/gpsd_2.95.bb b/recipes/gpsd/gpsd_2.95.bb
new file mode 100644
index 0000000000..27aa851246
--- /dev/null
+++ b/recipes/gpsd/gpsd_2.95.bb
@@ -0,0 +1,14 @@
+require gpsd.inc
+
+DEPENDS += "libusb1"
+
+SRC_URI += "file://libtool.patch \
+ "
+EXTRA_OECONF += "--disable-libQgpsmm"
+
+SRC_URI[gpsd.md5sum] = "12535a9ed9fecf9ea2c5bdc9840da5ae"
+SRC_URI[gpsd.sha256sum] = "832343a53921a8371efa540ba57c91dadedda445e571c1beb97c06539ef450ae"
+
+PR = "${INC_PR}.0"
+
+PARALLEL_MAKE = ""