[oe] How to package locale files outside /usr/share/locale?

Stanislav Brabec utx at penguin.cz
Wed Feb 25 22:39:59 UTC 2009


I wanted to package locale dependent files to -locale- packages.

Is there anything simpler than following code?

python populate_packages_prepend () {
	mcdir = bb.data.expand('${datadir}/mc', d)
	do_split_packages(d, mcdir, '^mc\.[hm][ile][npn].*\.(.*)$',
		output_pattern='mc-locale-%s',
		description='%s translation for mc')
}
(packages/mc/mc.inc)


________________________________________________________________________
Stanislav Brabec
http://www.penguin.cz/~utx/zaurus





More information about the Openembedded-devel mailing list