diff --git a/frotz/Makefile b/frotz/Makefile index 7dc316e..cb3cfba 100644 --- a/frotz/Makefile +++ b/frotz/Makefile @@ -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)) diff --git a/frotz/files/adverbum.z5 b/frotz/files/adverbum.z5 new file mode 100644 index 0000000..285726e Binary files /dev/null and b/frotz/files/adverbum.z5 differ diff --git a/frotz/files/awaken.z5 b/frotz/files/awaken.z5 new file mode 100644 index 0000000..325edeb Binary files /dev/null and b/frotz/files/awaken.z5 differ diff --git a/frotz/files/photopia.z5 b/frotz/files/photopia.z5 new file mode 100644 index 0000000..e7b3666 Binary files /dev/null and b/frotz/files/photopia.z5 differ diff --git a/frotz/files/vgame.z8 b/frotz/files/vgame.z8 new file mode 100644 index 0000000..dc1bafe Binary files /dev/null and b/frotz/files/vgame.z8 differ