diff options
Diffstat (limited to 'meta-oe/recipes-support/p910nd/p910nd_0.95.bb')
-rw-r--r-- | meta-oe/recipes-support/p910nd/p910nd_0.95.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/p910nd/p910nd_0.95.bb b/meta-oe/recipes-support/p910nd/p910nd_0.95.bb new file mode 100644 index 0000000000..ee43a595d7 --- /dev/null +++ b/meta-oe/recipes-support/p910nd/p910nd_0.95.bb | |||
@@ -0,0 +1,29 @@ | |||
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" | ||
4 | LICENSE = "GPLv2" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" | ||
6 | |||
7 | PR = "r0" | ||
8 | |||
9 | inherit update-rc.d | ||
10 | |||
11 | INITSCRIPT_NAME = "p910nd" | ||
12 | INITSCRIPT_PARAMS = "defaults 60 " | ||
13 | |||
14 | SRC_URI = "${SOURCEFORGE_MIRROR}/p910nd/p910nd-${PV}.tar.bz2 \ | ||
15 | file://p910nd.init" | ||
16 | |||
17 | SRC_URI[md5sum] = "c7ac6afdf7730ac8387a8e87198d4491" | ||
18 | SRC_URI[sha256sum] = "7d78642c86dc247fbdef1ff85c56629dcdc6b2a457c786420299e284fffcb029" | ||
19 | |||
20 | do_compile () { | ||
21 | ${CC} ${LDFLAGS} -o p910nd p910nd.c | ||
22 | } | ||
23 | |||
24 | # The avahi stuff makes it work with bonjour printing | ||
25 | do_install () { | ||
26 | install -D -m 0755 ${S}/p910nd ${D}${sbindir}/p910nd | ||
27 | install -D -m 0644 ${S}/p910nd.conf ${D}${sysconfdir}/p910nd.conf | ||
28 | install -D -m 0755 ${WORKDIR}/p910nd.init ${D}${sysconfdir}/init.d/p910nd | ||
29 | } | ||