OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
Source at commit 0267b8887b875f98c751687a43d0bc45d761e7cd created 11 years 2 months ago. By kyak, qstardict: update to compile with latest glib2 | |
---|---|
1 | # |
2 | # This is free software, licensed under the GNU General Public License v2. |
3 | # See /LICENSE for more information. |
4 | # |
5 | |
6 | include $(TOPDIR)/rules.mk |
7 | |
8 | PKG_NAME:=qstardict |
9 | PKG_VERSION:=0.13.1 |
10 | PKG_RELEASE:=1 |
11 | PKG_SOURCE_URL:=http://qstardict.ylsoftware.com/files/ |
12 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 |
13 | PKG_MD5SUM:=0828c3fa01c5237db8a67d356a9d1a8c |
14 | |
15 | include $(INCLUDE_DIR)/package.mk |
16 | include $(INCLUDE_DIR)/nls.mk |
17 | $(call include_mk,qmake.mk) |
18 | |
19 | define Package/qstardict |
20 | SECTION:=utils |
21 | CATEGORY:=Utilities |
22 | TITLE:=Qt clone of stardict |
23 | DEPENDS:=+qt4 +qt4-gui +dejavu-fonts-ttf +qt4-network +qt4-xml +glib2 |
24 | URL:=http://qstardict.ylsoftware.com |
25 | endef |
26 | |
27 | define Build/Configure |
28 | $(call Build/Configure/Qmake,qstardict) |
29 | endef |
30 | |
31 | TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib -liconv |
32 | |
33 | define Package/qstardict/install |
34 | $(INSTALL_DIR) $(1)/usr/bin $(1)/usr/lib/qstardict/plugins |
35 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/qstardict/qstardict $(1)/usr/bin/ |
36 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/plugins/stardict/libstardict.so $(1)/usr/lib/qstardict/plugins |
37 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/plugins/web/libweb.so $(1)/usr/lib/qstardict/plugins |
38 | endef |
39 | |
40 | $(eval $(call BuildPackage,qstardict)) |
41 |