OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
| 1 | # |
| 2 | # OpenWrt |
| 3 | # |
| 4 | # This is free software, licensed under the GNU General Public License v2. |
| 5 | # |
| 6 | |
| 7 | include $(TOPDIR)/rules.mk |
| 8 | |
| 9 | PKG_NAME:=ben-cyrillic |
| 10 | PKG_VERSION:=0.0.1 |
| 11 | PKG_RELEASE:=1 |
| 12 | |
| 13 | include $(INCLUDE_DIR)/package.mk |
| 14 | |
| 15 | define Package/ben-cyrillic |
| 16 | SECTION:=utils |
| 17 | CATEGORY:=Utilities |
| 18 | TITLE:=implements cyrillic input/output for Ben |
| 19 | SUBMENU:=Terminal |
| 20 | DEPENDS:=+setfont2 +kbd |
| 21 | endef |
| 22 | |
| 23 | define Build/Compile |
| 24 | endef |
| 25 | |
| 26 | define Package/ben-cyrillic/description |
| 27 | Collection of files and scripts to support cyrillic |
| 28 | input and output for Ben. |
| 29 | Use the "Ben" key to switch between input languages. |
| 30 | endef |
| 31 | |
| 32 | define Package/ben-cyrillic/install |
| 33 | $(INSTALL_DIR) \ |
| 34 | $(1)/usr/share/ben-cyrillic \ |
| 35 | $(1)/usr/sbin \ |
| 36 | $(1)/etc/init.d \ |
| 37 | $(1)/usr/share/gmenu2x/sections/applications \ |
| 38 | $(1)/usr/bin |
| 39 | |
| 40 | $(INSTALL_BIN) \ |
| 41 | $(FILES_DIR)/russian.sh \ |
| 42 | $(1)/usr/sbin/russian.sh |
| 43 | |
| 44 | $(INSTALL_BIN) \ |
| 45 | $(FILES_DIR)/$(PKG_NAME).init \ |
| 46 | $(1)/etc/init.d/$(PKG_NAME) |
| 47 | |
| 48 | $(INSTALL_BIN) \ |
| 49 | $(FILES_DIR)/ben-ash-rus \ |
| 50 | $(1)/usr/bin/ |
| 51 | |
| 52 | $(INSTALL_DATA) \ |
| 53 | $(FILES_DIR)/{ben_ru_uni.map,ben_ru_uni.trans,un-fuzzy-6x10-font_rus.pnm} \ |
| 54 | $(1)/usr/share/ben-cyrillic/ |
| 55 | |
| 56 | $(INSTALL_DATA) \ |
| 57 | $(FILES_DIR)/ash-rus \ |
| 58 | $(1)/usr/share/gmenu2x/sections/applications/ |
| 59 | endef |
| 60 | |
| 61 | $(eval $(call BuildPackage,ben-cyrillic)) |
| 62 |
