Skip to contentSkip to conversation

How to package locale files outside /usr/share/locale?

DISCUSSION Stanislav Brabec 1 participant 1 message Feb 25, 2009

lore
Share & tools
lore
#0 lore raw

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