From 4bfce3b6e2ea095ea3d9f5d2d1018cc0a1e5ce09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20K=C3=BChling?= Date: Sat, 18 Sep 2010 20:47:21 +0200 Subject: Major overhaul and cleanup. Support for .ubi image file installations. Only compile&install a minimum host Gforth for bootstrapping the target Gforth, removing strange emacs-dependencies that cropped up earlier. Image file can now be built on the nanonote using 'gforth-update-image' command. Also, Gforth is now run through a wrapper that calls 'gforth-update-image' automatically, if necessary. Also first attempts at supporting libcc C-interface libraries pre-compiled on the host. Tested to compile on amd64 and i386. --- wqy/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 wqy/Makefile (limited to 'wqy/Makefile') diff --git a/wqy/Makefile b/wqy/Makefile new file mode 100644 index 0000000..6d63d0a --- /dev/null +++ b/wqy/Makefile @@ -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. +# + +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 +PKG_SOURCE_URL:=http://downloads.sourceforge.net/project/wqy/wqy-microhei/0.2.0-beta + +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)) + -- cgit v1.2.3