1 DESCRIPTION = "A TCP/IP Daemon simplifying the communication with GPS devices"
4 MAINTAINER = "Robert Anderson <rea@sr.unh.edu>"
8 SRC_URI = "http://ftp.berlios.de/gpsd/gpsd-${PV}.tar.gz"
10 inherit autotools update-rc.d
12 INITSCRIPT_NAME = "gpsd"
13 INITSCRIPT_PARAMS = "defaults 35"
22 oe_runmake gpsd gpsd.1 libgps.3 libgpsd.3 gps.h gpsd.h
26 oe_libinstall -so -C ${S}/.libs libgps ${STAGING_LIBDIR}
27 install -m 0655 ${S}/libgps.la ${STAGING_LIBDIR}
28 install -m 0655 ${S}/gps.h ${STAGING_INCDIR}
29 install -m 0655 ${S}/gpsd.h ${STAGING_INCDIR}
33 install -d ${D}${sbindir}
34 install -d ${D}${mandir}/man1
35 install -d ${D}${mandir}/man3
36 install -d ${D}${incdir}
37 install -d ${D}${libdir}
38 install -d ${D}${sysconfdir}/init.d
40 install -m 0755 ${S}/.libs/gpsd ${D}${sbindir}
41 oe_libinstall -so -C ${S}/.libs libgps ${D}${libdir}
42 install -m 755 gpsd.1 ${D}${mandir}/man1/gpsd.1
43 install -m 0755 ${S}/libgps.la ${D}${libdir}libgps.la
44 install -m 0755 ${S}/gps.h ${S}/gpsd.h ${D}${incdir}
45 install -m 755 libgps.3 libgpsd.3 ${D}${mandir}/man3/
46 install -m 755 gpsd.init ${D}${sysconfdir}/init.d/gpsd
49 PACKAGES =+ "gpsd-devdoc "
50 FILES_${PN}-devdoc = "${mandir}/man3 "