Root/Tile/Makefile

1#
2# This is free software, licensed under the GNU General Public License v2.
3# See /LICENSE for more information.
4#
5
6include $(TOPDIR)/rules.mk
7
8PKG_NAME:=Tile
9PKG_VERSION:=20110114
10PKG_RELEASE:=1
11
12include $(INCLUDE_DIR)/package.mk
13PKG_UNPACK:=$(CP) ./src/{tile.*,main.cpp,Tile.pro} $(PKG_BUILD_DIR)
14
15$(call include_mk,qmake.mk)
16
17define Package/Tile
18    SECTION:=games
19    CATEGORY:=Games
20    TITLE:=15 Puzzle game, written in Qt
21    DEPENDS:=+qt4 +qt4-gui +dejavu-fonts-ttf
22endef
23
24define Build/Configure
25    $(call Build/Configure/Qmake,Tile)
26endef
27
28TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
29
30define Package/Tile/install
31    $(INSTALL_DIR) $(1)/usr/bin
32    $(INSTALL_BIN) $(PKG_BUILD_DIR)/Tile $(1)/usr/bin/
33endef
34
35$(eval $(call BuildPackage,Tile))
36

Archive Download this file



interactive