Root/qball/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:=qball
9PKG_VERSION:=1.4
10PKG_REV:=8ff218394bc1815ab9e274752598039b0ef18bbe
11PKG_RELEASE:=1
12PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_REV).tar.gz
13PKG_SOURCE_URL:=git://git.code.sf.net/p/q-ball/code
14PKG_SOURCE_PROTO:=git
15PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
16PKG_SOURCE_VERSION:=$(PKG_REV)
17
18include $(INCLUDE_DIR)/package.mk
19include $(INCLUDE_DIR)/nls.mk
20
21$(call include_mk,qmake.mk)
22
23define Package/qball
24    SECTION:=games
25    CATEGORY:=Games
26    TITLE:=simple breakout style game
27    DEPENDS:=+qt4 +qt4-gui +dejavu-fonts-ttf
28    URL:=http://homepage.ntlworld.com/mark.harman/comp_qball.html
29endef
30
31define Build/Configure
32    $(call Build/Configure/Qmake,QBall)
33endef
34
35TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
36
37define Package/qball/install
38    $(INSTALL_DIR) $(1)/usr/bin
39    $(INSTALL_BIN) $(PKG_BUILD_DIR)/QBall $(1)/usr/bin/qball
40endef
41
42$(eval $(call BuildPackage,qball))
43

Archive Download this file



interactive