Root/kinyin/Makefile

1#
2# Copyright (C) 2010 Sharism.cc
3# Author: Xiangfu Liu <xiangfu@sharism.cc>
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=kinyin
11PKG_VERSION:=0.43
12PKG_RELEASE:=1
13
14PKG_SOURCE:=95926-$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15PKG_SOURCE_URL:=http://qt-apps.org/CONTENT/content-files/
16
17include $(INCLUDE_DIR)/package.mk
18$(call include_mk,qmake.mk)
19
20define Package/kinyin
21    SECTION:=utils
22    CATEGORY:=Utilities
23    TITLE:=kinyin
24    URL:=http://qt-apps.org/content/show.php/kinyin?content=95926
25    DEPENDS:=+qt4 +qt4-gui +dejavu-fonts-ttf @BROKEN
26endef
27
28TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
29
30define Build/Configure
31    cd $(PKG_BUILD_DIR)/qt4 && \
32    $(call Build/Configure/Qmake,qt4/kinyin)
33endef
34
35define Package/kinyin/install
36    $(INSTALL_DIR) $(1)/usr/bin
37    $(INSTALL_BIN) $(PKG_BUILD_DIR)/kinyin $(1)/usr/bin/
38endef
39
40$(eval $(call BuildPackage,kinyin))
41

Archive Download this file



interactive