Root/zhcon/Makefile

1#
2# Copyright (C) 2009 Qi Hardware Inc.
3# Author: Xiangfu Liu <xiangfu@sharism.com>
4#
5# This is free software, licensed under the GNU General Public License v2.
6# See /LICENSE for more information.
7#
8
9include $(TOPDIR)/rules.mk
10
11PKG_NAME:=zhcon
12PKG_VERSION:=0.2.5
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=http://ncu.dl.sourceforge.net/project/zhcon/zhcon/0.2.6/
16
17PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
18
19PKG_INSTALL:=1
20
21include $(INCLUDE_DIR)/package.mk
22include $(INCLUDE_DIR)/nls.mk
23
24define Package/zhcon
25    TITLE:=zhcon
26    SECTION:=utils
27    CATEGORY:=Utilities
28    DEPENDS:=@BROKEN
29    URL:=http://zhcon.sourceforge.net/
30endef
31
32define Package/zhcon/description
33    zhcon is a Fast double-byte virtual console for Chinese/Japanese/Korean (CJK) running under GNU/Linux and FreeBSD
34endef
35
36
37TARGET_LDFLAGS+=-lcharset -liconv
38
39CONFIGURE_ARGS +=
40
41define Package/zhcon/install
42    $(INSTALL_DIR) $(1)/etc
43    $(INSTALL_DIR) $(1)/usr/bin
44    $(INSTALL_DIR) $(1)/usr/lib/zhcon/font
45    $(INSTALL_DIR) $(1)/usr/lib/zhcon/input
46endef
47
48$(eval $(call BuildPackage,zhcon))
49

Archive Download this file



interactive