2010-09-05 15:55:07 +03:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=nlove
|
2011-02-13 15:34:51 +02:00
|
|
|
PKG_REV:=494
|
2010-10-30 13:35:36 +03:00
|
|
|
PKG_VERSION:=r$(PKG_REV)
|
2011-02-13 18:29:02 +02:00
|
|
|
PKG_RELEASE:=2
|
2010-09-05 15:55:07 +03:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2010-10-30 13:35:36 +03:00
|
|
|
PKG_SOURCE_URL:=https://bitbucket.org/bartbes/nlove
|
|
|
|
PKG_SOURCE_PROTO:=hg
|
|
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
PKG_SOURCE_VERSION:=$(PKG_REV)
|
2010-09-05 15:55:07 +03:00
|
|
|
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/nlove
|
|
|
|
SECTION:=games
|
|
|
|
CATEGORY:=Games
|
|
|
|
TITLE:=LÖVE
|
2012-04-04 14:01:10 +03:00
|
|
|
DEPENDS:=+libphysfs +libsdl +libsdl-image +libsdl-gfx +libsdl-mixer +lua +libvorbisidec +libvorbis @BROKEN
|
2010-09-05 15:55:07 +03:00
|
|
|
URL:=http://bartbes.ath.cx/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/nlove/description
|
|
|
|
The LÖVE 2D lua game engine.
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Configure
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
2010-10-30 13:35:36 +03:00
|
|
|
(cd $(PKG_BUILD_DIR);\
|
|
|
|
STAGING_DIR="$(STAGING_DIR)" \
|
|
|
|
CFLAGS="-fhonour-copts -std=gnu99" \
|
|
|
|
PLATFORM="NanoNote" \
|
|
|
|
platform/nlove/build.sh);$
|
2010-09-05 15:55:07 +03:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/nlove/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/nlove $(1)/usr/bin/
|
2011-02-13 18:33:41 +02:00
|
|
|
$(INSTALL_BIN) $(FILES_DIR)/nlove-run $(1)/usr/bin/
|
2010-09-05 15:55:07 +03:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,nlove))
|