Root/gottet/Makefile

Source at commit 1b3135c created 8 years 1 month ago.
By Xiangfu Liu, new package: SDL-widgets: a GUI toolkit on top of the SDL libraries
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:=gottet
9PKG_VERSION:=1.0.4
10PKG_RELEASE:=1
11PKG_REV:=41f066f7801fbf9a10b90ba779076a03eb5353c3
12
13PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14PKG_SOURCE_URL:=https://github.com/gottcode/gottet.git
15PKG_SOURCE_PROTO:=git
16PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
17PKG_SOURCE_VERSION:=$(PKG_REV)
18
19
20include $(INCLUDE_DIR)/package.mk
21
22$(call include_mk,qmake.mk)
23
24define Package/gottet
25    SECTION:=games
26    CATEGORY:=Games
27    TITLE:=Tetris clone, written in Qt
28    DEPENDS:=+qt4 +qt4-gui +dejavu-fonts-ttf
29endef
30
31define Build/Configure
32    $(call Build/Configure/Qmake,gottet)
33endef
34
35TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
36
37define Package/gottet/install
38    $(INSTALL_DIR) $(1)/usr/bin
39    $(INSTALL_BIN) $(PKG_BUILD_DIR)/gottet $(1)/usr/bin/
40endef
41
42$(eval $(call BuildPackage,gottet))
43

Archive Download this file



interactive