1996bc45cSBrad BishopDESCRIPTION = "A small network printer daemon for embedded situations that passes the job directly to the printer" 2996bc45cSBrad BishopHOMEPAGE = "http://p910nd.sourceforge.net/" 3996bc45cSBrad BishopSECTION = "console/utils" 49aee5003SAndrew GeisslerLICENSE = "GPL-2.0-only" 5*028142bdSAndrew GeisslerLIC_FILES_CHKSUM = "file://LICENSE.md;md5=3d82780e8917b360cbee7b9ec3e40734" 6996bc45cSBrad Bishop 7996bc45cSBrad BishopPR = "r2" 8996bc45cSBrad Bishop 9*028142bdSAndrew Geissler# v0.97 10*028142bdSAndrew GeisslerSRCREV = "57ebc07ad8723ea4106090536c58c7f7160743e2" 11*028142bdSAndrew GeisslerSRC_URI = "git://github.com/kenyapcomau/p910nd;protocol=https;branch=master \ 12996bc45cSBrad Bishop file://fix-var-lock.patch" 13996bc45cSBrad Bishop 14*028142bdSAndrew GeisslerS = "${WORKDIR}/git" 15*028142bdSAndrew Geissler 16*028142bdSAndrew Geisslerinherit update-rc.d 17*028142bdSAndrew Geissler 18*028142bdSAndrew GeisslerINITSCRIPT_NAME = "p910nd" 19*028142bdSAndrew GeisslerINITSCRIPT_PARAMS = "start 90 2 3 4 5 . stop 60 0 1 6 ." 20996bc45cSBrad Bishop 21996bc45cSBrad Bishopdo_compile () { 22*028142bdSAndrew Geissler ${CC} ${CFLAGS} ${LDFLAGS} -o p910nd p910nd.c 23996bc45cSBrad Bishop} 24996bc45cSBrad Bishop 25996bc45cSBrad Bishopdo_install () { 26996bc45cSBrad Bishop install -D -m 0755 ${S}/p910nd ${D}${sbindir}/p910nd 27*028142bdSAndrew Geissler install -D -m 0644 ${S}/aux/p910nd.conf ${D}${sysconfdir}/sysconfig/p910nd.conf 28*028142bdSAndrew Geissler install -D -m 0644 ${S}/aux/p910nd.init ${D}${sysconfdir}/init.d/p910nd 29996bc45cSBrad Bishop} 30