]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/gpsd/gpsd.inc
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / gpsd / gpsd.inc
1 DESCRIPTION = "A TCP/IP Daemon simplifying the communication with GPS devices"
2 SECTION = "console/network"
3 PRIORITY = "optional"
4 LICENSE = "GPL"
5 DEPENDS = "dbus-0.23.4 ncurses"
6
7 SRC_URI = "http://download.berlios.de/gpsd/gpsd-${PV}.tar.gz \
8         file://gpsd"
9
10 inherit autotools update-rc.d
11
12 INITSCRIPT_NAME = "gpsd"
13 INITSCRIPT_PARAMS = "defaults 35"
14
15 export LDFLAGS = "-L${STAGING_LIBDIR} -lm"
16
17 do_stage() {
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}
22 }
23
24 do_install_append() {
25         install -d ${D}/${sysconfdir}/init.d
26         install -d ${D}/dev
27         install -m 0755 ${WORKDIR}/gpsd ${D}/${sysconfdir}/init.d/
28 }
29
30 PACKAGES =+ "libgps"
31
32 FILES_${PN} += "${sysconfdir}"
33 FILES_libgps = "${libdir}/*.so*"