1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-04 23:09:21 +02:00

add chinese font

This commit is contained in:
Xiangfu Liu 2010-02-05 00:44:22 +08:00
parent ee91d31436
commit 174258570d

45
wqy/Makefile Normal file
View File

@ -0,0 +1,45 @@
#
# Copyright (C) 2010
# Author xiangfu@sharism.cc
#
# This is free software, licensed under the GNU General Public License v3.
# See /LICENSE for more information.
#
#http://jaist.dl.sourceforge.net/project/wqy/wqy-microhei/0.2.0-beta/wqy-microhei-0.2.0-beta.tar.gz
include $(TOPDIR)/rules.mk
PKG_BASE_NAME:=font
PKG_NAME:=wqy-microhei
PKG_RELEASE:=1
PKG_VERSION:=0.2.0-beta
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/${PKG_NAME}/
PKG_SOURCE_URL:=@SF/wqy-microhei
include $(INCLUDE_DIR)/package.mk
define Package/wqy-microhei
SECTION:=xorg-font
CATEGORY:=Xorg
SUBMENU:=font
DEPENDS:= @DISPLAY_SUPPORT
TITLE:=WenQuanYi-chinese-font-ttc
URL:=http://wqy.sourceforge.net/
endef
define Build/Compile
echo
endef
define Build/Configure
echo
endef
define Package/wqy-microhei/install
$(INSTALL_DIR) $(1)/usr/share/fonts/wqy-microhei
$(INSTALL_DATA) $(PKG_BUILD_DIR)/*.ttc $(1)/usr/share/fonts/wqy-microhei
endef
$(eval $(call BuildPackage,wqy-microhei))