mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-04 23:21:53 +02:00
[stardict] add cache files for dictionary, for speed up when startup
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
This commit is contained in:
parent
91241193cb
commit
f179ae2426
@ -100,6 +100,9 @@ define Package/stardict-dic-en-en/install
|
|||||||
-C $(1)/usr/share/stardict/dic/ \
|
-C $(1)/usr/share/stardict/dic/ \
|
||||||
-jxf \
|
-jxf \
|
||||||
./files/stardict-english-2.4.2.tar.bz2
|
./files/stardict-english-2.4.2.tar.bz2
|
||||||
|
|
||||||
|
$(CP) ./files/longman.idx.oft \
|
||||||
|
$(1)/usr/share/stardict/dic/stardict-english-2.4.2/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/stardict-dic-en-cn/install
|
define Package/stardict-dic-en-cn/install
|
||||||
@ -110,6 +113,9 @@ define Package/stardict-dic-en-cn/install
|
|||||||
-C $(1)/usr/share/stardict/dic/ \
|
-C $(1)/usr/share/stardict/dic/ \
|
||||||
-jxf \
|
-jxf \
|
||||||
./files/stardict-oxfordjm-ec-2.4.2.tar.bz2
|
./files/stardict-oxfordjm-ec-2.4.2.tar.bz2
|
||||||
|
|
||||||
|
$(CP) ./files/oxfordjm-ec.idx.oft \
|
||||||
|
$(1)/usr/share/stardict/dic/stardict-oxfordjm-ec-2.4.2/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,stardict))
|
$(eval $(call BuildPackage,stardict))
|
||||||
|
BIN
stardict/files/longman.idx.oft
Normal file
BIN
stardict/files/longman.idx.oft
Normal file
Binary file not shown.
BIN
stardict/files/oxfordjm-ec.idx.oft
Normal file
BIN
stardict/files/oxfordjm-ec.idx.oft
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user