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