stardict/Makefile |
28 | 28 | TITLE:=International Dictionary Software |
29 | 29 | endef |
30 | 30 | |
| 31 | define Package/stardict/description |
| 32 | StarDict is a Cross-Platform and international dictionary Software. |
| 33 | endef |
| 34 | |
31 | 35 | define Package/stardict |
32 | 36 | $(call Package/stardict/Default) |
33 | 37 | DEPENDS:=$(ICONV_DEPENDS) $(INTL_DEPENDS) +libgconf2 +gtk2 +libstdcpp +libsigcxx |
... | ... | |
43 | 47 | TITLE+=(dictionary: oxfordjm English <-> Chinese) |
44 | 48 | endef |
45 | 49 | |
46 | | define Package/stardict/description |
47 | | StarDict is a Cross-Platform and international dictionary Software. |
| 50 | define Package/stardict-dic-en-sp |
| 51 | $(call Package/stardict/Default) |
| 52 | TITLE+=(dictionary: I2E English <-> Spanish) |
48 | 53 | endef |
49 | 54 | |
50 | 55 | TARGET_LDFLAGS+= -Wl,-rpath-link=$(STAGING_DIR)/usr/lib |
51 | 56 | |
52 | 57 | CONFIGURE_CMD =./autogen.sh |
53 | | |
54 | 58 | CONFIGURE_ARGS += \ |
55 | 59 | --disable-dependency-tracking \ |
56 | 60 | --disable-libtool-lock \ |
... | ... | |
118 | 122 | $(1)/usr/share/stardict/dic/stardict-oxfordjm-ec-2.4.2/ |
119 | 123 | endef |
120 | 124 | |
| 125 | define Package/stardict-dic-en-sp/install |
| 126 | $(INSTALL_DIR) \ |
| 127 | $(1)/usr/share/stardict/dic |
| 128 | |
| 129 | $(TAR) \ |
| 130 | -C $(1)/usr/share/stardict/dic/ \ |
| 131 | -jxf \ |
| 132 | ./files/stardict-i2e-2.4.2.tar.bz2 |
| 133 | |
| 134 | $(CP) ./files/i2e.idx.oft \ |
| 135 | $(1)/usr/share/stardict/dic/stardict-i2e-2.4.2/ |
| 136 | endef |
| 137 | |
121 | 138 | $(eval $(call BuildPackage,stardict)) |
122 | 139 | $(eval $(call BuildPackage,stardict-dic-en-en)) |
123 | 140 | $(eval $(call BuildPackage,stardict-dic-en-cn)) |
| 141 | $(eval $(call BuildPackage,stardict-dic-en-sp)) |