1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-05 04:33:43 +02:00

kinyin: it builds now

This commit is contained in:
kyak 2011-02-22 20:15:28 +03:00
parent 598a81d670
commit 6ae0610b9d

View File

@ -13,6 +13,7 @@ PKG_RELEASE:=1
PKG_SOURCE:=95926-$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://qt-apps.org/CONTENT/content-files/
PKG_MD5SUM:=f7a39e4c86a688fcd6653c2e75d59a8c
include $(INCLUDE_DIR)/package.mk
$(call include_mk,qmake.mk)
@ -22,19 +23,24 @@ define Package/kinyin
CATEGORY:=Utilities
TITLE:=kinyin
URL:=http://qt-apps.org/content/show.php/kinyin?content=95926
DEPENDS:=+qt4 +qt4-gui +dejavu-fonts-ttf @BROKEN
DEPENDS:=+qt4 +qt4-gui +dejavu-fonts-ttf
endef
TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
define Build/Prepare
$(call Build/Prepare/Default)
mv $(PKG_BUILD_DIR)/kinyin $(PKG_BUILD_DIR)/kinyin-data
endef
define Build/Configure
cd $(PKG_BUILD_DIR)/qt4 && \
$(call Build/Configure/Qmake,qt4/kinyin)
endef
define Package/kinyin/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_DIR) $(1)/usr/bin $(1)/usr/share/kinyin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/kinyin $(1)/usr/bin/
$(CP) $(PKG_BUILD_DIR)/kinyin-data/* $(1)/usr/share/kinyin/
endef
$(eval $(call BuildPackage,kinyin))