blob: fd20860a03440bb77e8358681a61c758619b2c8f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
SUMMARY = "An Enhanced Printer Spooler"
SECTION = "console/utils"
LICENSE = "GPL-2.0-only | Artistic-1.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=c6570d8d699af1883db9d0e733ac9bfb"
SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \
file://0001-checkpc-Do-not-define-Mail_fd-multiple-times.patch \
"
SRC_URI[sha256sum] = "694a1747a96385b89e93f43343bf35cee5c8c73353a83814106911c99f09de10"
UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/lprng/files/lprng/"
UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.tar"
inherit autotools gettext
EXTRA_OECONF = "--disable-ssl --disable-kerberos --enable-force_localhost \
CHOWN=${base_bindir}/chown CHGRP=${base_bindir}/chgrp \
OPENSSL=${bindir}/openssl PRUTIL=${bindir}/pr"
FILES:${PN}-dbg += "${libdir}/lprng/filters/.debug"
# configure: WARNING: Program 'clear' is not found. Set environment CLEAR=no if you do not want to use it
export CLEAR = "no"
do_install:append() {
mv ${D}/etc/printcap.sample ${D}/etc/printcap
mv ${D}/etc/lpd/lpd.conf.sample ${D}/etc/lpd/lpd.conf
mv ${D}/etc/lpd/lpd.perms.sample ${D}/etc/lpd/lpd.perms
}
|