2010-07-22 10:02:54 +03:00
# Copyright (C) 2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
#
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := setfont2
2011-02-13 10:21:24 +02:00
PKG_VERSION := 20110213
PKG_REV := 30bc03576863c97fac48ec103044e3f21b2375c7
2010-07-22 10:02:54 +03:00
PKG_RELEASE := 1
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := git://projects.qi-hardware.com/setfont2.git
PKG_SOURCE_PROTO := git
PKG_SOURCE_SUBDIR := $( PKG_NAME) -$( PKG_VERSION)
PKG_SOURCE_VERSION := $( PKG_REV)
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
d e f i n e P a c k a g e / s e t f o n t 2
TITLE:= Set 32-bit color fonts with fbcon
SECTION:= utils
CATEGORY:= Utilities
URL:= http://projects.qi-hardware.com/index.php/p/setfont2/
e n d e f
d e f i n e P a c k a g e / s e t f o n t 2 / d e s c r i p t i o n
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
e n d e f
d e f i n e B u i l d / C o n f i g u r e
$( call Build/Configure/Default)
e n d e f
2011-02-12 23:53:17 +02:00
d e f i n e B u i l d / C o m p i l e
cd $( PKG_BUILD_DIR) ; \
$( TARGET_CC) -Wl,-rpath-link= $( STAGING_DIR) /usr/lib -Wall -Os -o setfont2 setfont2.c
e n d e f
2010-07-22 10:02:54 +03:00
d e f i n e P a c k a g e / s e t f o n t 2 / i n s t a l l
$( INSTALL_DIR) \
$( 1) /etc/init.d \
$( 1) /usr/sbin \
$( 1) /usr/share/setfont2
$( INSTALL_BIN) \
$( PKG_BUILD_DIR) /setfont2 \
$( 1) /usr/sbin/
$( INSTALL_DATA) \
$( PKG_BUILD_DIR) /fonts/un-fuzzy-6x10-font.pnm \
$( PKG_BUILD_DIR) /fonts/un-fuzzy-4x8-font.pnm \
2011-02-12 22:01:01 +02:00
$( PKG_BUILD_DIR) /fonts/ben_uni.trans \
2010-07-22 10:02:54 +03:00
$( 1) /usr/share/setfont2/
e n d e f
$( eval $ ( call BuildPackage ,setfont 2) )