diff options
Diffstat (limited to 'stardict/Makefile')
| -rw-r--r-- | stardict/Makefile | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/stardict/Makefile b/stardict/Makefile index e7f8d99..2931065 100644 --- a/stardict/Makefile +++ b/stardict/Makefile @@ -28,7 +28,7 @@ endef define Package/stardict $(call Package/stardict/Default) - DEPENDS:=+libintl +libiconv +libgconf2 +gtk2 + DEPENDS:=+libintl +libiconv +libgconf2 +gtk2 +libstdcpp +libsigcxx endef define Package/stardict-dic-en-en @@ -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 @@ -95,7 +100,24 @@ define Package/stardict-dic-en-en/install -C $(1)/usr/share/stardict/dic/ \ -jxf \ ./files/stardict-english-2.4.2.tar.bz2 + + $(CP) ./files/longman.idx.oft \ + $(1)/usr/share/stardict/dic/stardict-english-2.4.2/ +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 + + $(CP) ./files/oxfordjm-ec.idx.oft \ + $(1)/usr/share/stardict/dic/stardict-oxfordjm-ec-2.4.2/ endef $(eval $(call BuildPackage,stardict)) $(eval $(call BuildPackage,stardict-dic-en-en)) +$(eval $(call BuildPackage,stardict-dic-en-cn)) |
