1*996bc45cSBrad BishopDESCRIPTION = "A small network printer daemon for embedded situations that passes the job directly to the printer"
2*996bc45cSBrad BishopHOMEPAGE = "http://p910nd.sourceforge.net/"
3*996bc45cSBrad BishopSECTION = "console/utils"
4*996bc45cSBrad BishopLICENSE = "GPLv2"
5*996bc45cSBrad BishopLIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
6*996bc45cSBrad Bishop
7*996bc45cSBrad BishopPR = "r2"
8*996bc45cSBrad Bishop
9*996bc45cSBrad BishopSRC_URI = "${SOURCEFORGE_MIRROR}/p910nd/p910nd-${PV}.tar.bz2 \
10*996bc45cSBrad Bishop           file://fix-var-lock.patch"
11*996bc45cSBrad Bishop
12*996bc45cSBrad BishopSRC_URI[md5sum] = "69461a6c54dca0b13ecad5b83864b43e"
13*996bc45cSBrad BishopSRC_URI[sha256sum] = "4ac980a3ae24babae6f70f0a692625ece03a4a92c357fbb10d2e368386c3c26f"
14*996bc45cSBrad Bishop
15*996bc45cSBrad Bishopdo_compile () {
16*996bc45cSBrad Bishop    ${CC} ${LDFLAGS} -o p910nd p910nd.c
17*996bc45cSBrad Bishop}
18*996bc45cSBrad Bishop
19*996bc45cSBrad Bishopdo_install () {
20*996bc45cSBrad Bishop    install -D -m 0755 ${S}/p910nd ${D}${sbindir}/p910nd
21*996bc45cSBrad Bishop    install -D -m 0644 ${S}/p910nd.conf ${D}${sysconfdir}/p910nd.conf
22*996bc45cSBrad Bishop}
23