Change Details
wqy/Makefile |
| 1 | # |
| 2 | # Copyright (C) 2010 |
| 3 | # Author xiangfu@sharism.cc |
| 4 | # |
| 5 | # This is free software, licensed under the GNU General Public License v3. |
| 6 | # See /LICENSE for more information. |
| 7 | # |
| 8 | #http://jaist.dl.sourceforge.net/project/wqy/wqy-microhei/0.2.0-beta/wqy-microhei-0.2.0-beta.tar.gz |
| 9 | |
| 10 | include $(TOPDIR)/rules.mk |
| 11 | |
| 12 | PKG_BASE_NAME:=font |
| 13 | PKG_NAME:=wqy-microhei |
| 14 | PKG_RELEASE:=1 |
| 15 | PKG_VERSION:=0.2.0-beta |
| 16 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
| 17 | PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/${PKG_NAME}/ |
| 18 | PKG_SOURCE_URL:=@SF/wqy-microhei |
| 19 | |
| 20 | include $(INCLUDE_DIR)/package.mk |
| 21 | |
| 22 | define Package/wqy-microhei |
| 23 | SECTION:=xorg-font |
| 24 | CATEGORY:=Xorg |
| 25 | SUBMENU:=font |
| 26 | DEPENDS:= @DISPLAY_SUPPORT |
| 27 | TITLE:=WenQuanYi-chinese-font-ttc |
| 28 | URL:=http://wqy.sourceforge.net/ |
| 29 | endef |
| 30 | |
| 31 | define Build/Compile |
| 32 | echo |
| 33 | endef |
| 34 | |
| 35 | define Build/Configure |
| 36 | echo |
| 37 | endef |
| 38 | |
| 39 | define Package/wqy-microhei/install |
| 40 | $(INSTALL_DIR) $(1)/usr/share/fonts/wqy-microhei |
| 41 | $(INSTALL_DATA) $(PKG_BUILD_DIR)/*.ttc $(1)/usr/share/fonts/wqy-microhei |
| 42 | endef |
| 43 | |
| 44 | $(eval $(call BuildPackage,wqy-microhei)) |
| 45 | |
Download the corresponding diff file