diff --git a/stardict/Makefile b/stardict/Makefile index a40c02e..0f9a2b1 100644 --- a/stardict/Makefile +++ b/stardict/Makefile @@ -28,6 +28,10 @@ define Package/stardict/Default TITLE:=International Dictionary Software endef +define Package/stardict/description + StarDict is a Cross-Platform and international dictionary Software. +endef + define Package/stardict $(call Package/stardict/Default) DEPENDS:=$(ICONV_DEPENDS) $(INTL_DEPENDS) +libgconf2 +gtk2 +libstdcpp +libsigcxx @@ -43,14 +47,14 @@ define Package/stardict-dic-en-cn TITLE+=(dictionary: oxfordjm English <-> Chinese) endef -define Package/stardict/description - StarDict is a Cross-Platform and international dictionary Software. +define Package/stardict-dic-en-sp + $(call Package/stardict/Default) + TITLE+=(dictionary: I2E English <-> Spanish) endef TARGET_LDFLAGS+= -Wl,-rpath-link=$(STAGING_DIR)/usr/lib CONFIGURE_CMD =./autogen.sh - CONFIGURE_ARGS += \ --disable-dependency-tracking \ --disable-libtool-lock \ @@ -118,6 +122,20 @@ define Package/stardict-dic-en-cn/install $(1)/usr/share/stardict/dic/stardict-oxfordjm-ec-2.4.2/ endef +define Package/stardict-dic-en-sp/install + $(INSTALL_DIR) \ + $(1)/usr/share/stardict/dic + + $(TAR) \ + -C $(1)/usr/share/stardict/dic/ \ + -jxf \ + ./files/stardict-i2e-2.4.2.tar.bz2 + + $(CP) ./files/i2e.idx.oft \ + $(1)/usr/share/stardict/dic/stardict-i2e-2.4.2/ +endef + $(eval $(call BuildPackage,stardict)) $(eval $(call BuildPackage,stardict-dic-en-en)) $(eval $(call BuildPackage,stardict-dic-en-cn)) +$(eval $(call BuildPackage,stardict-dic-en-sp)) diff --git a/stardict/files/i2e.idx.oft b/stardict/files/i2e.idx.oft new file mode 100644 index 0000000..eec507a Binary files /dev/null and b/stardict/files/i2e.idx.oft differ diff --git a/stardict/files/stardict-i2e-2.4.2.tar.bz2 b/stardict/files/stardict-i2e-2.4.2.tar.bz2 new file mode 100644 index 0000000..8f9299a Binary files /dev/null and b/stardict/files/stardict-i2e-2.4.2.tar.bz2 differ