summaryrefslogtreecommitdiff
path: root/packages/gpsd/gpsd.inc
diff options
context:
space:
mode:
authorJake Morrison <jake@cogini.com>2007-06-11 15:32:24 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2007-06-11 15:32:24 +0000
commitc95e380a833881cc95ffe07dbb08536f7c4d4cb1 (patch)
tree1dec846710b1ddab188c86f0b10a4038208b441d /packages/gpsd/gpsd.inc
parentef828c09c96cdc47f0b6901f2ee83cdb4bbcc8ec (diff)
gpsd: add /etc/default/gpsd config file - close #2465
Diffstat (limited to 'packages/gpsd/gpsd.inc')
-rw-r--r--packages/gpsd/gpsd.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/gpsd/gpsd.inc b/packages/gpsd/gpsd.inc
index f7c1de2362..7fa05d4716 100644
--- a/packages/gpsd/gpsd.inc
+++ b/packages/gpsd/gpsd.inc
@@ -10,6 +10,7 @@ EXTRA_OECONF = "--x-includes=${STAGING_INCDIR}/X11 \
--disable-python "
SRC_URI = "http://download.berlios.de/gpsd/gpsd-${PV}.tar.gz \
+ file://gpsd-default \
file://gpsd"
inherit autotools update-rc.d
@@ -40,6 +41,8 @@ do_install_append() {
install -d ${D}/${sysconfdir}/init.d
install -d ${D}/dev
install -m 0755 ${WORKDIR}/gpsd ${D}/${sysconfdir}/init.d/
+ install -d ${D}/${sysconfdir}/default
+ install -m 0644 ${WORKDIR}/gpsd-default ${D}/${sysconfdir}/default/gpsd
}
PACKAGES =+ "libgps"