1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-25 00:53:44 +02:00
openwrt-packages/qstardict/Makefile

41 lines
1.1 KiB
Makefile
Raw Normal View History

#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=qstardict
PKG_VERSION:=0.13.1
PKG_RELEASE:=1
PKG_SOURCE_URL:=http://qstardict.ylsoftware.com/files/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_MD5SUM:=0828c3fa01c5237db8a67d356a9d1a8c
include $(INCLUDE_DIR)/package.mk
2011-02-06 21:13:25 +02:00
include $(INCLUDE_DIR)/nls.mk
$(call include_mk,qmake.mk)
define Package/qstardict
SECTION:=utils
CATEGORY:=Utilities
TITLE:=Qt clone of stardict
2011-01-07 10:26:23 +02:00
DEPENDS:=+qt4 +qt4-gui +dejavu-fonts-ttf +qt4-network +qt4-xml +glib2
URL:=http://qstardict.ylsoftware.com
endef
define Build/Configure
$(call Build/Configure/Qmake,qstardict)
endef
TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib -liconv
define Package/qstardict/install
$(INSTALL_DIR) $(1)/usr/bin $(1)/usr/lib/qstardict/plugins
$(INSTALL_BIN) $(PKG_BUILD_DIR)/qstardict/qstardict $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/plugins/stardict/libstardict.so $(1)/usr/lib/qstardict/plugins
$(INSTALL_BIN) $(PKG_BUILD_DIR)/plugins/web/libweb.so $(1)/usr/lib/qstardict/plugins
endef
$(eval $(call BuildPackage,qstardict))