summaryrefslogtreecommitdiff
path: root/unifont/Makefile
blob: 1f95dab7a2926c187b3ce9b23ad164dfe83e88d5 (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
# 
# OpenWrt
#
# This is free software, licensed under the GNU General Public License v2.
#

include $(TOPDIR)/rules.mk

PKG_NAME:=unifont
PKG_VERSION:=5.1.20080820
PKG_RELEASE:=1

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).pcf.gz
PKG_SOURCE_URL:=http://unifoundry.com/
PKG_MD5SUM:=8c28087c5fcb3188f1244b390efffdbe

include $(INCLUDE_DIR)/package.mk
PKG_UNPACK:=$(CP) $(DL_DIR)/$(PKG_SOURCE) $(PKG_BUILD_DIR)

define Package/unifont
  SECTION:=utils
  CATEGORY:=Utilities
  TITLE:=GNU Unifont
  URL:=http://unifoundry.com/unifont.html
endef

define Package/unifont/description
  GNU Unifont, with glyphs for every printable code point in the Unicode 5.1 Basic Multilingual Plane (BMP).
endef

define Build/Compile
endef

define Package/unifont/install
	$(INSTALL_DIR) \
		$(1)/usr/share/fonts

	$(INSTALL_DATA) \
		$(PKG_BUILD_DIR)/$(PKG_SOURCE) \
		$(1)/usr/share/fonts/unifont.pcf.gz
endef

$(eval $(call BuildPackage,unifont))