aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/postinst-intercept/nativesdk-postinst-intercept_1.0.bb
blob: 938ac8ad7b3cb0d676540525bf2c7ff021111959 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
SUMMARY = "Postinstall scriptlets"
LICENSE = "MIT"

FILES_${PN}_append = " ${datadir}/postinst-intercepts/*"

do_configure[noexec] = "1"
do_compile[noexec] = "1"

do_install() {
	install -d ${D}${datadir}/postinst-intercepts
	install -m 755 ${COREBASE}/scripts/postinst-intercepts/postinst_intercept ${D}${datadir}/postinst-intercepts/
	install -m 755 ${COREBASE}/scripts/postinst-intercepts/update_font_cache ${D}${datadir}/postinst-intercepts/
	install -m 755 ${COREBASE}/scripts/postinst-intercepts/update_icon_cache ${D}${datadir}/postinst-intercepts/
	install -m 755 ${COREBASE}/scripts/postinst-intercepts/update_pixbuf_cache ${D}${datadir}/postinst-intercepts/
}

inherit nativesdk
INHIBIT_DEFAULT_DEPS = "1"