OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
| 1 | # |
| 2 | # Copyright (C) 2009-2010 Qi Hardware Inc. |
| 3 | # Author: Xiangfu Liu <xiangfu@sharism.cc> |
| 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:=scim-pinyin |
| 12 | PKG_VERSION:=0.5.91 |
| 13 | |
| 14 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
| 15 | PKG_SOURCE_URL:=@SF/scim-pinyin |
| 16 | PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) |
| 17 | |
| 18 | include $(INCLUDE_DIR)/package.mk |
| 19 | include $(INCLUDE_DIR)/nls.mk |
| 20 | |
| 21 | define Package/scim-pinyin |
| 22 | TITLE:=Smart Common Input Method_Chinese PinYin |
| 23 | SECTION:=utils |
| 24 | CATEGORY:=Utilities |
| 25 | URL:=http://www.scim-im.org/projects/imengines |
| 26 | DEPENDS:=+libintl +libiconv +scim |
| 27 | # ERROR: scim is broken |
| 28 | endef |
| 29 | |
| 30 | define Package/scim-pinyin/description |
| 31 | Smart Common Input Method, PinYin |
| 32 | endef |
| 33 | |
| 34 | define Package/scim-pinyin/install |
| 35 | $(INSTALL_DIR) $(1)/usr/bin |
| 36 | $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/scim-pinyin $(1)/usr/bin/ |
| 37 | endef |
| 38 | |
| 39 | $(eval $(call BuildPackage,scim-pinyin)) |
| 40 |
