OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
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 | |
9 | include $(TOPDIR)/rules.mk |
10 | |
11 | PKG_NAME:=zhcon |
12 | PKG_VERSION:=0.2.5 |
13 | |
14 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
15 | PKG_SOURCE_URL:=http://ncu.dl.sourceforge.net/project/zhcon/zhcon/0.2.6/ |
16 | |
17 | PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) |
18 | |
19 | PKG_INSTALL:=1 |
20 | |
21 | include $(INCLUDE_DIR)/package.mk |
22 | include $(INCLUDE_DIR)/nls.mk |
23 | |
24 | define Package/zhcon |
25 | TITLE:=zhcon |
26 | SECTION:=utils |
27 | CATEGORY:=Utilities |
28 | DEPENDS:=@BROKEN |
29 | URL:=http://zhcon.sourceforge.net/ |
30 | endef |
31 | |
32 | define Package/zhcon/description |
33 | zhcon is a Fast double-byte virtual console for Chinese/Japanese/Korean (CJK) running under GNU/Linux and FreeBSD |
34 | endef |
35 | |
36 | |
37 | TARGET_LDFLAGS+=-lcharset -liconv |
38 | |
39 | CONFIGURE_ARGS += |
40 | |
41 | define 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 |
46 | endef |
47 | |
48 | $(eval $(call BuildPackage,zhcon)) |
49 |