Change Details
NanoMap/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 | |
| 8 | include $(TOPDIR)/rules.mk |
| 9 | |
| 10 | PKG_NAME:=NanoMap |
| 11 | PKG_VERSION:=0.3 |
| 12 | PKG_REV:=012268a764a05e3b7226a248dd81b247713d6f2f |
| 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)/usr/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)) |
Download the corresponding diff file