mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-25 19:00:38 +02:00
restructure Makefile for easily adding dictionaries,
adding english<->english dictionary
This commit is contained in:
parent
da4562e87c
commit
69f86c1a9f
@ -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))
|
||||
|
BIN
stardict/files/stardict-english-2.4.2.tar.bz2
Normal file
BIN
stardict/files/stardict-english-2.4.2.tar.bz2
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user