1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-07-01 02:52:01 +03:00

[stardict] add Oxford Englihs -> Chinese dictionary

Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
This commit is contained in:
Xiangfu Liu 2010-11-12 17:15:53 +08:00
parent f995e57425
commit a508a75926
2 changed files with 16 additions and 0 deletions

View File

@ -36,6 +36,11 @@ define Package/stardict-dic-en-en
TITLE+=(dictionary: English <-> English)
endef
define Package/stardict-dic-en-cn
$(call Package/stardict/Default)
TITLE+=(dictionary: oxfordjm English <-> Chinses)
endef
define Package/stardict/description
StarDict is a Cross-Platform and international dictionary Software.
endef
@ -97,5 +102,16 @@ define Package/stardict-dic-en-en/install
./files/stardict-english-2.4.2.tar.bz2
endef
define Package/stardict-dic-en-cn/install
$(INSTALL_DIR) \
$(1)/usr/share/stardict/dic
$(TAR) \
-C $(1)/usr/share/stardict/dic/ \
-jxf \
./files/stardict-oxfordjm-ec-2.4.2.tar.bz2
endef
$(eval $(call BuildPackage,stardict))
$(eval $(call BuildPackage,stardict-dic-en-en))
$(eval $(call BuildPackage,stardict-dic-en-cn))

Binary file not shown.