1 DESCRIPTION = "A TCP/IP Daemon simplifying the communication with GPS devices"
2 SECTION = "console/network"
5 DEPENDS = "dbus-0.23.4 ncurses"
7 SRC_URI = "http://download.berlios.de/gpsd/gpsd-${PV}.tar.gz \
10 inherit autotools update-rc.d
12 INITSCRIPT_NAME = "gpsd"
13 INITSCRIPT_PARAMS = "defaults 35"
15 export LDFLAGS = "-L${STAGING_LIBDIR} -lm"
18 oe_libinstall -so -C ${S}/.libs libgps ${STAGING_LIBDIR}
19 install -m 0655 ${S}/libgps.la ${STAGING_LIBDIR}
20 install -m 0655 ${S}/gps.h ${STAGING_INCDIR}
21 install -m 0655 ${S}/gpsd.h ${STAGING_INCDIR}
25 install -d ${D}/${sysconfdir}/init.d
27 install -m 0755 ${WORKDIR}/gpsd ${D}/${sysconfdir}/init.d/
32 FILES_${PN} += "${sysconfdir}"
33 FILES_libgps = "${libdir}/*.so*"