Root/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
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=NanoMap
11PKG_VERSION:=0.3
12PKG_REV:=bfd639fd99e6e77cb58b9649a7ddb1c03068ef2d
13PKG_RELEASE:=1
14
15PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16PKG_SOURCE_URL:=git://projects.qi-hardware.com/nanomap.git
17PKG_SOURCE_PROTO:=git
18PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
19PKG_SOURCE_VERSION:=$(PKG_REV)
20
21include $(INCLUDE_DIR)/package.mk
22$(call include_mk,qmake.mk)
23
24define Package/NanoMap
25    SECTION:=utils
26    CATEGORY:=Utilities
27    TITLE:=Qt4-based map viewer
28    DEPENDS:=+qt4 +qt4-gui +qt4-network +dejavu-fonts-ttf
29    URL:=http://projects.qi-hardware.com/index.php/p/nanomap/
30endef
31
32
33TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
34
35define Build/Configure
36    $(call Build/Configure/Qmake,nanomap)
37endef
38
39define Package/NanoMap/install
40    $(INSTALL_DIR) $(1)/usr/bin
41    $(INSTALL_BIN) $(PKG_BUILD_DIR)/NanoMap $(1)/usr/bin/
42endef
43
44$(eval $(call BuildPackage,NanoMap))
45

Archive Download this file



interactive