summaryrefslogtreecommitdiff
path: root/NanoMap/Makefile
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2011-01-02 23:27:23 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2011-01-02 23:27:23 +0100
commit9352995934adec8059077af241c35ccd1573bd80 (patch)
tree60286e266b3b31b90b952ac37e12a1ebbcdd2eb6 /NanoMap/Makefile
parentef3b84d78197acbd45d73a9b1ae44b47b5904290 (diff)
parent880bca260c4ce91554a49b2475232cf5c0ffd447 (diff)
downloadqipackages-fork-9352995934adec8059077af241c35ccd1573bd80.tar.gz
Merge branch 'master' of git://projects.qi-hardware.com/openwrt-packagesHEADmaster
Conflicts: links/Makefile
Diffstat (limited to 'NanoMap/Makefile')
-rw-r--r--NanoMap/Makefile18
1 files changed, 16 insertions, 2 deletions
diff --git a/NanoMap/Makefile b/NanoMap/Makefile
index e07514f..b1d22e9 100644
--- a/NanoMap/Makefile
+++ b/NanoMap/Makefile
@@ -21,14 +21,22 @@ PKG_SOURCE_VERSION:=$(PKG_REV)
include $(INCLUDE_DIR)/package.mk
$(call include_mk,qmake.mk)
-define Package/NanoMap
+define Package/NanoMap/Default
SECTION:=utils
CATEGORY:=Utilities
TITLE:=Qt4-based map viewer
- DEPENDS:=+qt4 +qt4-gui +qt4-network +dejavu-fonts-ttf
URL:=http://projects.qi-hardware.com/index.php/p/nanomap/
endef
+define Package/NanoMap
+ $(call Package/NanoMap/Default)
+ DEPENDS:=+qt4 +qt4-gui +qt4-network +dejavu-fonts-ttf
+endef
+
+define Package/NanoMap-maps
+ $(call Package/NanoMap/Default)
+ TITLE+=(Sample Maps)
+endef
TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
@@ -41,4 +49,10 @@ define Package/NanoMap/install
$(INSTALL_BIN) $(PKG_BUILD_DIR)/NanoMap $(1)/usr/bin/
endef
+define Package/NanoMap-maps/install
+ $(INSTALL_DIR) $(1)/root
+ $(CP) ./files/Maps/ $(1)/root/
+endef
+
$(eval $(call BuildPackage,NanoMap))
+$(eval $(call BuildPackage,NanoMap-maps))