1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-12-23 09:18:58 +02:00
openwrt-packages/qball/Makefile

43 lines
1.0 KiB
Makefile
Raw Normal View History

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
PKG_VERSION:=1.2
2010-12-14 20:25:16 +02:00
PKG_RELEASE:=1
PKG_SOURCE_URL:=http://homepage.ntlworld.com/mark.harman/
PKG_SOURCE:=qball_src.zip
PKG_MD5SUM:=106736362979921cd02fa7675f38c483
2010-12-14 20:25:16 +02:00
UNZIP_CMD=unzip -d $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) $(DL_DIR)/$(PKG_SOURCE)
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
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)/QBall
$(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
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))