diff options
-rw-r--r-- | meta-oe/recipes-graphics/graphviz/graphviz_2.44.1.bb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/graphviz/graphviz_2.44.1.bb b/meta-oe/recipes-graphics/graphviz/graphviz_2.44.1.bb index 8fe837b75c..cc57761bc4 100644 --- a/meta-oe/recipes-graphics/graphviz/graphviz_2.44.1.bb +++ b/meta-oe/recipes-graphics/graphviz/graphviz_2.44.1.bb | |||
@@ -74,6 +74,17 @@ do_install_append_class-nativesdk() { | |||
74 | } | 74 | } |
75 | FILES_${PN}_class-nativesdk += "${SDKPATHNATIVE}" | 75 | FILES_${PN}_class-nativesdk += "${SDKPATHNATIVE}" |
76 | 76 | ||
77 | # create /usr/lib/graphviz/config6 | ||
78 | graphviz_sstate_postinst() { | ||
79 | mkdir -p ${SYSROOT_DESTDIR}${bindir} | ||
80 | dest=${SYSROOT_DESTDIR}${bindir}/postinst-${PN} | ||
81 | echo '#!/bin/sh' > $dest | ||
82 | echo '' >> $dest | ||
83 | echo 'dot -c' >> $dest | ||
84 | chmod 0755 $dest | ||
85 | } | ||
86 | SYSROOT_PREPROCESS_FUNCS_append_class-native = " graphviz_sstate_postinst" | ||
87 | |||
77 | PACKAGES =+ "${PN}-python ${PN}-perl ${PN}-demo" | 88 | PACKAGES =+ "${PN}-python ${PN}-perl ${PN}-demo" |
78 | 89 | ||
79 | FILES_${PN}-python += "${libdir}/python*/site-packages/ ${libdir}/graphviz/python/" | 90 | FILES_${PN}-python += "${libdir}/python*/site-packages/ ${libdir}/graphviz/python/" |