summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glibc/glibc-scripts.inc
blob: 2a2b41507ed6abc3a5f3253e3cd33739771609bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
require glibc-collateral.inc

SUMMARY = "utility scripts provided by glibc"
DESCRIPTION = "utility scripts provided by glibc"
RDEPENDS_${PN} = "bash glibc-mtrace"

SRC = "${COMPONENTS_DIR}/${PACKAGE_ARCH}/glibc-stash-locale/scripts"

bashscripts = "sotruss xtrace"

do_install() {
	install -d -m 0755 ${D}${bindir}
	for i in ${bashscripts}; do
		install -m 0755 ${SRC}/$i ${D}${bindir}/
	done
}

# sotruss script requires sotruss-lib.so (given by libsotruss package), 
# to produce trace of the library calls.
RDEPENDS_${PN} += "libsotruss"