Reverting all the dbus related commits (sigh) from 27th July and fixing a QA issue...
[oespirit1] / l10n / hildon-l10n.inc
1 # .inc file to be required by all hildon localization packages
2
3 inherit autotools
4
5 #Ideally ${LANG} and ${TEXT_DOMAIN} should be passed on from the recipe.
6 #Language set here temporarily.
7
8 DEPENDS += "gettext-native"
9 LANG=en_GB
10 PACKAGES = "${PN}"
11 FILES_${PN} = "${datadir}/locale/*"
12
13 do_configure(){
14     :
15 }
16
17 do_compile(){
18         mkdir -p ${S}/po/${LANG}
19     ${STAGING_BINDIR_NATIVE}/msgfmt --statistics -c -o po/${LANG}/${TEXT_DOMAIN}.mo po/${LANG}.po
20
21 }
22
23 do_install () {
24     install -m 0755 -d ${D}${datadir}/locale/${LANG}/LC_MESSAGES
25     install -m 0755 ${S}/po/${LANG}/*   ${D}${datadir}/locale/${LANG}/LC_MESSAGES/ 
26 }
27
28