diff options
| -rw-r--r-- | meta/recipes-extended/cups/cups.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-extended/cups/cups.inc b/meta/recipes-extended/cups/cups.inc index 34982819b9..c5a60bde12 100644 --- a/meta/recipes-extended/cups/cups.inc +++ b/meta/recipes-extended/cups/cups.inc | |||
| @@ -22,7 +22,7 @@ LEAD_SONAME = "libcupsdriver.so" | |||
| 22 | 22 | ||
| 23 | CLEANBROKEN = "1" | 23 | CLEANBROKEN = "1" |
| 24 | 24 | ||
| 25 | inherit autotools-brokensep binconfig useradd systemd pkgconfig | 25 | inherit autotools-brokensep binconfig useradd systemd pkgconfig multilib_script |
| 26 | 26 | ||
| 27 | USERADD_PACKAGES = "${PN}" | 27 | USERADD_PACKAGES = "${PN}" |
| 28 | GROUPADD_PARAM_${PN} = "--system lpadmin" | 28 | GROUPADD_PARAM_${PN} = "--system lpadmin" |
| @@ -100,6 +100,8 @@ FILES_${PN} += "${datadir}/doc/cups/images \ | |||
| 100 | " | 100 | " |
| 101 | CONFFILES_${PN} += "${sysconfdir}/cups/cupsd.conf" | 101 | CONFFILES_${PN} += "${sysconfdir}/cups/cupsd.conf" |
| 102 | 102 | ||
| 103 | MULTILIB_SCRIPTS = "${PN}-dev:${bindir}/cups-config" | ||
| 104 | |||
| 103 | SYSROOT_PREPROCESS_FUNCS += "cups_sysroot_preprocess" | 105 | SYSROOT_PREPROCESS_FUNCS += "cups_sysroot_preprocess" |
| 104 | cups_sysroot_preprocess () { | 106 | cups_sysroot_preprocess () { |
| 105 | sed -i ${SYSROOT_DESTDIR}${bindir_crossscripts}/cups-config -e 's:cups_datadir=.*:cups_datadir=${datadir}/cups:' -e 's:cups_serverbin=.*:cups_serverbin=${libexecdir}/cups:' | 107 | sed -i ${SYSROOT_DESTDIR}${bindir_crossscripts}/cups-config -e 's:cups_datadir=.*:cups_datadir=${datadir}/cups:' -e 's:cups_serverbin=.*:cups_serverbin=${libexecdir}/cups:' |
