2010-12-14 20:25:16 +02:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=qball
|
2012-10-12 20:40:57 +03:00
|
|
|
PKG_VERSION:=1.4
|
2012-10-23 18:13:25 +03:00
|
|
|
PKG_REV:=8ff218394bc1815ab9e274752598039b0ef18bbe
|
2010-12-14 20:25:16 +02:00
|
|
|
PKG_RELEASE:=1
|
2012-10-23 18:13:25 +03:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_REV).tar.gz
|
|
|
|
PKG_SOURCE_URL:=git://git.code.sf.net/p/q-ball/code
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
PKG_SOURCE_VERSION:=$(PKG_REV)
|
2010-12-14 20:25:16 +02:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2011-02-06 21:14:51 +02:00
|
|
|
include $(INCLUDE_DIR)/nls.mk
|
2010-12-14 20:25:16 +02:00
|
|
|
|
|
|
|
$(call include_mk,qmake.mk)
|
|
|
|
|
|
|
|
define Package/qball
|
|
|
|
SECTION:=games
|
|
|
|
CATEGORY:=Games
|
|
|
|
TITLE:=simple breakout style game
|
|
|
|
DEPENDS:=+qt4 +qt4-gui +dejavu-fonts-ttf
|
|
|
|
URL:=http://homepage.ntlworld.com/mark.harman/comp_qball.html
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Configure
|
|
|
|
$(call Build/Configure/Qmake,QBall)
|
|
|
|
endef
|
|
|
|
|
2011-02-22 19:10:31 +02:00
|
|
|
TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
|
|
|
|
|
2010-12-14 20:25:16 +02:00
|
|
|
define Package/qball/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/QBall $(1)/usr/bin/qball
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,qball))
|