Root/setfont2/Makefile

1# Copyright (C) 2008 OpenWrt.org
2#
3# This is free software, licensed under the GNU General Public License v2.
4#
5
6include $(TOPDIR)/rules.mk
7
8PKG_NAME:=setfont2
9PKG_VERSION:=20100720
10PKG_REV:=5c45736740e5e63439692615506078427913ea18
11PKG_RELEASE:=1
12
13PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14PKG_SOURCE_URL:=git://projects.qi-hardware.com/setfont2.git
15PKG_SOURCE_PROTO:=git
16PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
17PKG_SOURCE_VERSION:=$(PKG_REV)
18
19
20include $(INCLUDE_DIR)/package.mk
21
22define 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/
27endef
28
29define 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
31endef
32
33define Build/Configure
34      $(call Build/Configure/Default)
35
36endef
37define 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
52    $(INSTALL_BIN) \
53        ./files/$(PKG_NAME).init \
54        $(1)/etc/init.d/$(PKG_NAME)
55endef
56
57$(eval $(call BuildPackage,setfont2))
58

Archive Download this file



interactive