2013-04-10 12:11:41 +00:00
|
|
|
DESCRIPTION = "A utility to set system RTC to GPSD time"
|
|
|
|
SECTION = "console/network"
|
|
|
|
LICENSE = "GPLv2"
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
|
|
|
DEPENDS = "gpsd"
|
2013-06-02 06:52:15 +00:00
|
|
|
RDEPENDS_${PN} = "libgps"
|
2013-04-10 12:11:41 +00:00
|
|
|
|
2013-06-20 08:44:06 +00:00
|
|
|
PE = "1"
|
2013-10-14 08:42:34 +00:00
|
|
|
PR = "r9"
|
2013-06-20 08:44:06 +00:00
|
|
|
PV = "0.1+git${SRCPV}"
|
2013-04-10 12:11:41 +00:00
|
|
|
|
|
|
|
SRC_URI = "git://git.sysmocom.de/gpsdate.git;branch=master \
|
|
|
|
"
|
2013-10-14 08:42:34 +00:00
|
|
|
SRCREV = "c77a9b3342af3f15142162655268d1e55ca598f1"
|
2013-04-24 11:47:37 +00:00
|
|
|
S = "${WORKDIR}/git"
|
2013-04-10 12:11:41 +00:00
|
|
|
|
|
|
|
INITSCRIPT_NAME = "gpsdate"
|
|
|
|
INITSCRIPT_PARAMS = "defaults 35"
|
|
|
|
|
2013-05-12 10:00:02 +00:00
|
|
|
inherit update-rc.d
|
|
|
|
|
2013-04-10 12:11:41 +00:00
|
|
|
do_install() {
|
|
|
|
install -d ${D}/${sbindir}
|
|
|
|
install -m 0755 ${S}/gpsdate ${D}/${sbindir}/gpsdate
|
|
|
|
install -d ${D}/${sysconfdir}/init.d
|
|
|
|
install -m 0755 ${S}/gpsdate.init ${D}/${sysconfdir}/init.d/gpsdate
|
|
|
|
}
|