Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | DESCRIPTION = "A small network printer daemon for embedded situations that passes the job directly to the printer" |
| 2 | HOMEPAGE = "http://p910nd.sourceforge.net/" |
| 3 | SECTION = "console/utils" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 4 | LICENSE = "GPL-2.0-only" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" |
| 6 | |
| 7 | PR = "r2" |
| 8 | |
| 9 | SRC_URI = "${SOURCEFORGE_MIRROR}/p910nd/p910nd-${PV}.tar.bz2 \ |
| 10 | file://fix-var-lock.patch" |
| 11 | |
Brad Bishop | 996bc45 | 2019-12-02 13:05:15 -0500 | [diff] [blame] | 12 | SRC_URI[md5sum] = "69461a6c54dca0b13ecad5b83864b43e" |
| 13 | SRC_URI[sha256sum] = "4ac980a3ae24babae6f70f0a692625ece03a4a92c357fbb10d2e368386c3c26f" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 14 | |
| 15 | do_compile () { |
| 16 | ${CC} ${LDFLAGS} -o p910nd p910nd.c |
| 17 | } |
| 18 | |
| 19 | do_install () { |
| 20 | install -D -m 0755 ${S}/p910nd ${D}${sbindir}/p910nd |
| 21 | install -D -m 0644 ${S}/p910nd.conf ${D}${sysconfdir}/p910nd.conf |
| 22 | } |