OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
| 1 | # Copyright (C) 2008 OpenWrt.org |
| 2 | # |
| 3 | # This is free software, licensed under the GNU General Public License v2. |
| 4 | # |
| 5 | |
| 6 | include $(TOPDIR)/rules.mk |
| 7 | |
| 8 | PKG_NAME:=setfont2 |
| 9 | PKG_VERSION:=20100720 |
| 10 | PKG_REV:=5c45736740e5e63439692615506078427913ea18 |
| 11 | PKG_RELEASE:=1 |
| 12 | |
| 13 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
| 14 | PKG_SOURCE_URL:=git://projects.qi-hardware.com/setfont2.git |
| 15 | PKG_SOURCE_PROTO:=git |
| 16 | PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) |
| 17 | PKG_SOURCE_VERSION:=$(PKG_REV) |
| 18 | |
| 19 | |
| 20 | include $(INCLUDE_DIR)/package.mk |
| 21 | |
| 22 | define Package/setfont2 |
| 23 | TITLE:=Set 32-bit color fonts with fbcon |
| 24 | SECTION:=utils |
| 25 | CATEGORY:=Utilities |
| 26 | URL:=http://projects.qi-hardware.com/index.php/p/setfont2/ |
| 27 | endef |
| 28 | |
| 29 | define Package/setfont2/description |
| 30 | Setfont2 is a utility to set 32-bit fonts on the framebuffer console ( fbcon). Fonts with 32-bit glyphs can make use of SubLCD effects to make them easier to read than black and white fonts at the same point size |
| 31 | endef |
| 32 | |
| 33 | define Build/Configure |
| 34 | $(call Build/Configure/Default) |
| 35 | |
| 36 | endef |
| 37 | define Package/setfont2/install |
| 38 | $(INSTALL_DIR) \ |
| 39 | $(1)/etc/init.d \ |
| 40 | $(1)/usr/sbin \ |
| 41 | $(1)/usr/share/setfont2 |
| 42 | |
| 43 | $(INSTALL_BIN) \ |
| 44 | $(PKG_BUILD_DIR)/setfont2 \ |
| 45 | $(1)/usr/sbin/ |
| 46 | |
| 47 | $(INSTALL_DATA) \ |
| 48 | $(PKG_BUILD_DIR)/fonts/un-fuzzy-6x10-font.pnm \ |
| 49 | $(PKG_BUILD_DIR)/fonts/un-fuzzy-4x8-font.pnm \ |
| 50 | $(1)/usr/share/setfont2/ |
| 51 | endef |
| 52 | |
| 53 | $(eval $(call BuildPackage,setfont2)) |
| 54 |
