diff options
author | Michael Lauer <mickey@vanille-media.de> | 2005-06-26 13:08:27 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2005-06-26 13:08:27 +0000 |
commit | 4e137096e5c02edbaffd13cec78a5c60fac4b1c0 (patch) | |
tree | 2310a43d1455ef8b86828f3280957d040da05515 /packages/gpsd/gpsd.inc | |
parent | ac22ff8a5e3e1a83da19ed6f3172c51704a267dd (diff) |
add gpsd 2.26 and kill off a couple of older ones
BKrev: 42bea8cb-qzXptA0g3ncdv90a40nDw
Diffstat (limited to 'packages/gpsd/gpsd.inc')
-rw-r--r-- | packages/gpsd/gpsd.inc | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/packages/gpsd/gpsd.inc b/packages/gpsd/gpsd.inc index e69de29bb2..5b3bf80d03 100644 --- a/packages/gpsd/gpsd.inc +++ b/packages/gpsd/gpsd.inc @@ -0,0 +1,33 @@ +DESCRIPTION = "A TCP/IP Daemon simplifying the communication with GPS devices" +SECTION = "network" +PRIORITY = "optional" +LICENSE = "GPL" +DEPENDS = "ncurses" + +SRC_URI = "http://download.berlios.de/gpsd/gpsd-${PV}.tar.gz \ + file://gpsd" + +inherit autotools update-rc.d + +INITSCRIPT_NAME = "gpsd" +INITSCRIPT_PARAMS = "defaults 35" + +export LDFLAGS = "-L${STAGING_LIBDIR} -lm" + +do_stage() { + oe_libinstall -so -C ${S}/.libs libgps ${STAGING_LIBDIR} + install -m 0655 ${S}/libgps.la ${STAGING_LIBDIR} + install -m 0655 ${S}/gps.h ${STAGING_INCDIR} + install -m 0655 ${S}/gpsd.h ${STAGING_INCDIR} +} + +do_install_append() { + install -d ${D}/${sysconfdir}/init.d + install -d ${D}/dev + install -m 0755 ${WORKDIR}/gpsd ${D}/${sysconfdir}/init.d/ +} + +PACKAGES =+ "libgps" + +FILES_${PN} += "${sysconfdir}" +FILES_libgps = "${libdir}/*.so*" |