summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/postinst-intercept/postinst-intercept_1.0.bb
blob: 41b9a6e49e5246ba0c860fd9e680431d769fd51e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
SUMMARY = "Postinstall scriptlets"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"

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

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

do_install_append_class-nativesdk() {
	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/
}

BBCLASSEXTEND = "nativesdk"
INHIBIT_DEFAULT_DEPS = "1"