Date:2010-12-14 08:57:03 (9 years 6 months ago)
Author:David K├╝hling
Commit:a670379a6ec32b462d5d67838e4dc6511f2f2d33
Message:pull out japanese input dictionary into a separate package. it's too large to load anyway.

Files: emacs/Makefile (5 diffs)

Change Details

emacs/Makefile
3737endef
3838
3939define Package/emacs-bin
40 $(call Package/emacs/Default)
40$(call Package/emacs/Default)
4141  DEPENDS:=+libncurses +emacs-data
4242  TITLE+= (executable)
4343endef
...... 
4848endef
4949
5050define Package/emacs-data
51 $(call Package/emacs/Default)
51$(call Package/emacs/Default)
5252  TITLE+= (compiled lisp)
5353endef
5454
...... 
5757 This package contains the compiled Lisp files needed to run Emacs.
5858endef
5959
60define Package/emacs-ja-dic
61$(call Package/emacs/Default)
62  TITLE+= (japanese input dictionary)
63endef
64
65define Package/emacs-ja-dic/description
66$(call Package/emacs/Default/description)
67 This package contains the japanese dictionary used to input japanese Kanji
68 via Hiragana->Kanji conversion (\'set-input-method japanese\'). This
69 dictionary is huge, so huga that emacs won\'t be able to load it on systems
70 with 32MB or fewer RAM.
71endef
72
6073define Package/emacs-el
61 $(call Package/emacs/Default)
74$(call Package/emacs/Default)
6275  TITLE+= (lisp source)
6376endef
6477
...... 
118131
119132define Build/Install
120133    $(call Build/Install/Default,install-arch-indep install-arch-dep install-leim "MFLAGS=-o test-distrib")
134    $(INSTALL_DATA) ./files/site-start.el $(PKG_INSTALL_DIR)/usr/share/emacs/$(PKG_VERSION)/site-lisp
121135endef
122136
123137define Package/emacs-bin/install
...... 
133147        --exclude "refcards" \
134148        --exclude "schema" \
135149        --exclude "NEWS*" \
150        --exclude "ja-dic" \
136151        share) \
137152        | (cd $(1)/usr && tar -xvf -)
138153endef
139154
155define Package/emacs-ja-dic/install
156    $(INSTALL_DIR) $(1)/usr
157    (cd $(PKG_INSTALL_DIR)/usr && tar -cf - \
158        --exclude "*.el.gz" share/emacs/$(PKG_VERSION)/leim/ja-dic) \
159        | (cd $(1)/usr && tar -xvf -)
160endef
161
140162define Package/emacs-el/install
141163    $(INSTALL_DIR) $(1)/usr
142164    (cd $(PKG_INSTALL_DIR)/usr && find share -name "*.el.gz" | tar -cf - -T -) \
143165        | (cd $(1)/usr && tar -xvf -)
144166endef
145167
168
146169$(eval $(call HostBuild))
147170$(eval $(call BuildPackage,emacs-bin))
148171$(eval $(call BuildPackage,emacs-data))
172$(eval $(call BuildPackage,emacs-ja-dic))
149173$(eval $(call BuildPackage,emacs-el))
150174
175
151176# The following comments configure the Emacs editor. Just ignore them.
152177# Local Variables:
153178# compile-command: "make -C ~/h/src/qi/openwrt-xburst package/emacs/compile -j2 V=99"

Archive Download the corresponding diff file



interactive