1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-22 08:50:37 +02:00

stardict dictionary, add English <-> Spanish

This commit is contained in:
Xiangfu Liu 2011-02-23 10:14:51 +08:00
parent c19e7861af
commit 217bb4e132
3 changed files with 21 additions and 3 deletions

View File

@ -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))

BIN
stardict/files/i2e.idx.oft Normal file

Binary file not shown.

Binary file not shown.