1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-25 18:10:38 +02:00

restructure Makefile for easily adding dictionaries,

adding english<->english dictionary
This commit is contained in:
Mirko Vogt 2010-04-03 16:18:25 +02:00
parent da4562e87c
commit 69f86c1a9f
2 changed files with 23 additions and 2 deletions

View File

@ -19,13 +19,23 @@ PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/stardict
define Package/stardict/Default
SECTION:=utils
CATEGORY:=Utilities
DEPENDS:=+libintl +libiconv +libgconf2
DEPENDS:=stardict
TITLE:=International Dictionary Software
endef
define Package/stardict
$(call Package/stardict/Default)
DEPENDS:=+libintl +libiconv +libgconf2
endef
define Package/stardict-dic-en-en
$(call Package/stardict/Default)
TITLE+=(dictionary: English <-> English)
endef
define Package/stardict/description
StarDict is a Cross-Platform and international dictionary Software.
endef
@ -77,4 +87,15 @@ define Package/stardict/install
$(1)/usr/share/
endef
define Package/stardict-dic-en-en/install
$(INSTALL_DIR) \
$(1)/usr/share/stardict/dic
$(TAR) \
-C $(1)/usr/share/stardict/dic/ \
-jxf \
./files/stardict-english-2.4.2.tar.bz2
endef
$(eval $(call BuildPackage,stardict))
$(eval $(call BuildPackage,stardict-dic-en-en))

Binary file not shown.