add new gpsdate recipe

This commit is contained in:
Harald Welte 2013-04-10 14:11:41 +02:00
parent 336c4212e5
commit 920b27acba
1 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,23 @@
DESCRIPTION = "A utility to set system RTC to GPSD time"
SECTION = "console/network"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
DEPENDS = "gpsd"
RDEPENDS = "libgps"
PR = "r3"
SRC_URI = "git://git.sysmocom.de/gpsdate.git;branch=master \
"
SRCREV = "4ad6c932c9ad85d555b3a4ba1de4f433e1f39757"
S = ${WORKDIR}/git
INITSCRIPT_NAME = "gpsdate"
INITSCRIPT_PARAMS = "defaults 35"
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
}