OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
Source at commit 5c1e00fbb25fb11f469266cbea3f0006d33f5ce5 created 13 years 8 months ago. By Xiangfu Liu, [NanoMap] update to commit 012268a | |
---|---|
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 | |
8 | include $(TOPDIR)/rules.mk |
9 | |
10 | PKG_NAME:=NanoMap |
11 | PKG_VERSION:=0.3 |
12 | PKG_REV:=f550a9a873eeb83ce8f1783b7e047717043db77e |
13 | PKG_RELEASE:=1 |
14 | |
15 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
16 | PKG_SOURCE_URL:=git://projects.qi-hardware.com/nanomap.git |
17 | PKG_SOURCE_PROTO:=git |
18 | PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) |
19 | PKG_SOURCE_VERSION:=$(PKG_REV) |
20 | |
21 | include $(INCLUDE_DIR)/package.mk |
22 | |
23 | define Package/NanoMap |
24 | SECTION:=utils |
25 | CATEGORY:=Utilities |
26 | TITLE:=Qt4-based map viewer |
27 | DEPENDS:=@BROKEN +qt4 +qt4-gui +qt4-network |
28 | URL:=http://projects.qi-hardware.com/index.php/p/nanomap/ |
29 | endef |
30 | |
31 | |
32 | MAKE_VARS += TARGETPATH=$(STAGING_DIR) |
33 | |
34 | define Build/Configure |
35 | $(STAGING_DIR_HOST)/bin/qmake -spec $(STAGING_DIR)/usr/share/mkspecs/qws/linux-openwrt-g++ -o $(PKG_BUILD_DIR)/Makefile $(PKG_BUILD_DIR)/nanomap.pro |
36 | endef |
37 | |
38 | define Package/NanoMap/install |
39 | $(INSTALL_DIR) $(1)/usr/bin |
40 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/NanoMap $(1)/usr/bin/ |
41 | endef |
42 | |
43 | $(eval $(call BuildPackage,NanoMap)) |
44 |