summaryrefslogtreecommitdiff
path: root/ben-cyrillic/Makefile
blob: ec72a76494f2811c00ed805579e618058742c199 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# 
# OpenWrt
#
# This is free software, licensed under the GNU General Public License v2.
#

include $(TOPDIR)/rules.mk

PKG_NAME:=ben-cyrillic
PKG_VERSION:=0.0.1
PKG_RELEASE:=1

include $(INCLUDE_DIR)/package.mk

define Package/ben-cyrillic
  SECTION:=utils
  CATEGORY:=Utilities
  TITLE:=implements cyrillic input/output for Ben
  SUBMENU:=Terminal
  DEPENDS:=+setfont2 +kbd
endef

define Build/Compile
endef

define Package/ben-cyrillic/description
  Collection of files and scripts to support cyrillic
  input and output for Ben.
  Use the "Ben" key to switch between input languages.
endef

define Package/ben-cyrillic/install
	$(INSTALL_DIR) \
		$(1)/usr/share/ben-cyrillic \
		$(1)/usr/sbin \
		$(1)/etc/init.d \
		$(1)/usr/share/gmenu2x/sections/applications \
		$(1)/usr/bin

	$(INSTALL_BIN) \
		$(FILES_DIR)/russian.sh \
		$(1)/usr/sbin/russian.sh

	$(INSTALL_BIN) \
		$(FILES_DIR)/$(PKG_NAME).init \
		$(1)/etc/init.d/$(PKG_NAME)

	$(INSTALL_BIN) \
		$(FILES_DIR)/ben-ash-rus \
		$(1)/usr/bin/

	$(INSTALL_DATA) \
		$(FILES_DIR)/{ben_ru_uni.map,ben_ru_uni.trans,un-fuzzy-6x10-font_rus.pnm} \
		$(1)/usr/share/ben-cyrillic/

	$(INSTALL_DATA) \
		$(FILES_DIR)/ash-rus \
		$(1)/usr/share/gmenu2x/sections/applications/
endef

$(eval $(call BuildPackage,ben-cyrillic))