projects
/
vuplus_openembedded
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
031ff6c
)
cups: undo mangle of cups_{datadir,serverbin} in cups-config
author
Otavio Salvador
<otavio@ossystems.com.br>
Thu, 7 May 2009 03:04:17 +0000
(
00:04
-0300)
committer
Otavio Salvador
<otavio@ossystems.com.br>
Thu, 21 May 2009 02:27:05 +0000
(23:27 -0300)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes/cups/cups.inc
patch
|
blob
|
history
diff --git
a/recipes/cups/cups.inc
b/recipes/cups/cups.inc
index
8e2a7a8
..
56450f7
100644
(file)
--- 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.*"