1 inherit update-alternatives
3 DESCRIPTION = "Dictionary file for libdictionary"
4 DEPENDS = "zip-native perl-native"
8 SRC_URI = "http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/en_GB.zip"
10 ALTERNATIVE_NAME = "dictionary"
11 ALTERNATIVE_LINK = "${datadir}/dictionary/dictionary"
12 ALTERNATIVE_PATH = "${datadir}/dictionary/en_GB"
13 ALTERNATIVE_PRIORITY = "50"
16 perl -ne ' s,/.*,,; next if ( /[.1-9]/ || /^.{0,1}$/ ); print;' ${WORKDIR}/en_GB.dic | sort > en_GB
19 FILES_${PN} = "${datadir}/dictionary"
22 install -d ${D}/${datadir}/dictionary
23 install ${S}/en_GB ${D}/${datadir}/dictionary/