1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-12-22 14:36:26 +02:00

frotz: add 4 zcode games

This commit is contained in:
Xiangfu Liu 2011-10-12 21:25:02 +08:00
parent fe60208f97
commit f5a7f946ff
5 changed files with 19 additions and 3 deletions

View File

@ -9,14 +9,25 @@ PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/frotz
TITLE:=frotz
define Package/frotz/Default
SECTION:=games
CATEGORY:=Games
endef
define Package/frotz
TITLE:=frotz
DEPENDS:=+libncurses
URL:=http://frotz.sourceforge.net/
endef
define Package/frotz-games
TITLE:=frotz-games
SECTION:=games
CATEGORY:=Games
DEPENDS:=+frotz
URL:=http://ifarchive.org/if-archive/games/zcode/
endef
MAKE_VARS +=CONFIG_DIR=/etc \
INCL=-I$(STAGING_DIR)/usr/include \
LIB=-L$(STAGING_DIR)/usr/lib \
@ -29,10 +40,15 @@ define Package/frotz/description
A Portable Z-Machine Interpreter
endef
define Package/frotz/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/frotz $(1)/usr/bin/
endef
define Package/frotz-games/install
$(INSTALL_DIR) $(1)/usr/games/zcode/
$(CP) $(FILES_DIR)/* $(1)/usr/games/zcode/
endef
$(eval $(call BuildPackage,frotz))
$(eval $(call BuildPackage,frotz-games))

BIN
frotz/files/adverbum.z5 Normal file

Binary file not shown.

BIN
frotz/files/awaken.z5 Normal file

Binary file not shown.

BIN
frotz/files/photopia.z5 Normal file

Binary file not shown.

BIN
frotz/files/vgame.z8 Normal file

Binary file not shown.