diff --git a/stardict/Makefile b/stardict/Makefile index e7f8d99..e216b57 100644 --- a/stardict/Makefile +++ b/stardict/Makefile @@ -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)) diff --git a/stardict/files/stardict-oxfordjm-ec-2.4.2.tar.bz2 b/stardict/files/stardict-oxfordjm-ec-2.4.2.tar.bz2 new file mode 100644 index 0000000..e2b4ae6 Binary files /dev/null and b/stardict/files/stardict-oxfordjm-ec-2.4.2.tar.bz2 differ