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.3
10PKG_RELEASE:=1
11PKG_SOURCE_URL:=http://homepage.ntlworld.com/mark.harman/
12PKG_SOURCE:=qball_src.zip
13PKG_MD5SUM:=78231c3ae743d6b4e92726125efec448
14UNZIP_CMD=unzip -d $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) $(DL_DIR)/$(PKG_SOURCE)
15
16include $(INCLUDE_DIR)/package.mk
17include $(INCLUDE_DIR)/nls.mk
18
19PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)/QBall
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