summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2009-05-07 00:04:17 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2009-05-20 23:27:05 -0300
commit308d584de51bc55246df4a127c6a74cdc9a66750 (patch)
tree9379f4ad1bd2231afa0df3431ad0df71126db4f3 /recipes
parent031ff6c2f3e621c8131502394e6225d575dbcd70 (diff)
cups: undo mangle of cups_{datadir,serverbin} in cups-config
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes')
-rw-r--r--recipes/cups/cups.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/recipes/cups/cups.inc b/recipes/cups/cups.inc
index 8e2a7a8075..56450f78fe 100644
--- a/recipes/cups/cups.inc
+++ b/recipes/cups/cups.inc
@@ -62,6 +62,13 @@ python do_package_append() {
os.system('chmod 0511 %s/install/cups/var/run/cups/certs' % workdir)
}
+do_stage_append() {
+ # Undo mangle of cups_datadir and cups_serverbin
+ sed -e 's:cups_datadir=.*:cups_datadir=${datadir}/cups:g' \
+ -e 's:cups_serverbin=.*:cups_serverbin=${libdir}/cups:g' \
+ -i ${STAGING_BINDIR_CROSS}/cups-config
+}
+
PACKAGES =+ "${PN}-lib ${PN}-libimage"
FILES_${PN}-lib = "${libdir}/libcups.so.*"