xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-extended/lprng/lprng_3.8.C.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1SUMMARY = "An Enhanced Printer Spooler"
2SECTION = "console/utils"
3LICENSE = "GPL-2.0-only | Artistic-1.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=c6570d8d699af1883db9d0e733ac9bfb"
5
6SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \
7           file://0001-checkpc-Do-not-define-Mail_fd-multiple-times.patch \
8          "
9SRC_URI[md5sum] = "5901bed95e61d2bea3ba3056056af432"
10SRC_URI[sha256sum] = "694a1747a96385b89e93f43343bf35cee5c8c73353a83814106911c99f09de10"
11
12inherit autotools gettext
13
14EXTRA_OECONF = "--disable-ssl --disable-kerberos --enable-force_localhost"
15FILES:${PN}-dbg += "${libdir}/lprng/filters/.debug"
16
17# configure: WARNING: Program 'clear' is not found. Set environment CLEAR=no if you do not want to use it
18export CLEAR = "no"
19
20do_install:append() {
21    mv ${D}/etc/printcap.sample ${D}/etc/printcap
22    mv ${D}/etc/lpd/lpd.conf.sample ${D}/etc/lpd/lpd.conf
23    mv ${D}/etc/lpd/lpd.perms.sample ${D}/etc/lpd/lpd.perms
24}
25