mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-04 22:57:30 +02:00
[stardict] add Oxford Englihs -> Chinese dictionary
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
This commit is contained in:
parent
f995e57425
commit
a508a75926
@ -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))
|
||||
|
BIN
stardict/files/stardict-oxfordjm-ec-2.4.2.tar.bz2
Normal file
BIN
stardict/files/stardict-oxfordjm-ec-2.4.2.tar.bz2
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user