diff options
author | Michael Lauer <mickey@vanille-media.de> | 2005-04-12 13:56:16 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2005-04-12 13:56:16 +0000 |
commit | 355a2db6fca210601c7b0c77473f94ee44416286 (patch) | |
tree | ad43ce9c2144e337a8c4c3f9cfe5a4887b6abc4f /packages/gpsd/gpsd_2.16.bb | |
parent | 6af08008e6019bbabc462fa624d3851124d4a4bd (diff) |
misc. SECTION fixes
BKrev: 425bd380QeEURzDMDNXwEK5qgFFICg
Diffstat (limited to 'packages/gpsd/gpsd_2.16.bb')
-rw-r--r-- | packages/gpsd/gpsd_2.16.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/packages/gpsd/gpsd_2.16.bb b/packages/gpsd/gpsd_2.16.bb index e69de29bb2..a024351609 100644 --- a/packages/gpsd/gpsd_2.16.bb +++ b/packages/gpsd/gpsd_2.16.bb @@ -0,0 +1,35 @@ +DESCRIPTION = "A TCP/IP Daemon simplifying the communication with GPS devices" +SECTION = "network" +PRIORITY = "optional" +MAINTAINER = "Jose Bernardo Silva <jbs@bandos.homelinux.com> \ + Robert Anderson <rea@sr.unh.edu> \ + Stephan Zalewski <stephan.zalewski@uni-dusseldorf.de>" +LICENSE = "GPL" + +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" + +LDFLAGS = -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/ + ln -sf /dev/ttyS3 ${D}/dev/gps +} + +FILES_gpsd =+ "/dev/gps ${sysconfdir}/inid.d/gpsd" +PACKAGES =+ "libgps" +FILES_libgps = "${libdir}" |