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
22
23define Package/zhcon
24    TITLE:=zhcon
25    SECTION:=utils
26    CATEGORY:=Utilities
27    DEPENDS:=@BROKEN
28    URL:=http://zhcon.sourceforge.net/
29endef
30
31define Package/zhcon/description
32    zhcon is a Fast double-byte virtual console for Chinese/Japanese/Korean (CJK) running under GNU/Linux and FreeBSD
33endef
34
35TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include -I$(STAGING_DIR)/usr/lib/libiconv/include
36TARGET_LDFLAGS+=-lintl -L$(STAGING_DIR)/usr/lib/libintl/lib -lcharset -liconv -L$(STAGING_DIR)/usr/lib/libiconv/lib
37
38CONFIGURE_ARGS +=
39
40define Package/zhcon/install
41    $(INSTALL_DIR) $(1)/etc
42    $(INSTALL_DIR) $(1)/usr/bin
43    $(INSTALL_DIR) $(1)/usr/lib/zhcon/font
44    $(INSTALL_DIR) $(1)/usr/lib/zhcon/input
45endef
46
47$(eval $(call BuildPackage,zhcon))
48

Archive Download this file



interactive