include $(TOPDIR)/rules.mk PKG_NAME:=angband PKG_VERSION:=3.3.2 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://rephial.org/downloads/3.3/ PKG_MD5SUM:=76bb1cac39e8f3d1146bac5ff561fc3a PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-v$(PKG_VERSION) PKG_INSTALL:=1 include $(INCLUDE_DIR)/package.mk define Package/angband CATEGORY:=Games DEPENDS:=+libncurses TITLE:=single-player, text-based, dungeon simulation derived from the game Moria. URL:=http://rephial.org/ endef define Package/angband/description Angband is a single-player, text-based, dungeon simulation derived from the game Moria, which was in turn based on Rogue. It is often described as a "roguelike" game because the look and feel of the game is still quite similar to Rogue. Angband features many enhancements over Moria: unique foes, artifacts, monster pits and vaults to name a few. Many of these new creatures and objects are drawn from the writings of J.R.R Tolkien, although some of the monsters come straight from classical mythology, Dungeons & Dragons, Rolemaster, or the minds of the original Angband coders. The ultimate goal of the game is to develop a character strong enough to defeat Morgoth, who resides on dungeon level 100. Upon doing so, you will receive the exalted status of "winner" and your character may retire. Angband is a reference to Morgoth's "prison of iron." Morgoth was 'the Dark Enemy of Middle-Earth' during its First Age. He was banished by the Valar (offspring of Eru, "god" of J.R.R. Tolkien's world) at the end of the First Age and thus never appears in The Lord of the Rings, set during the Third Age. Sauron, who does figure into those tales, was the most powerful of his servants. Read Tolkien's 'The Silmarillion' for more on the legends of Middle-Earth. endef CONFIGURE_ARGS += \ --disable-x11 \ --disable-sdl-mixer \ --prefix=/opt TARGET_LDFLAGS += \ -Wl,-rpath-link=$(STAGING_DIR)/opt/lib define Package/angband/install $(INSTALL_DIR) $(1)/opt/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/opt/bin/* $(1)/opt/bin $(INSTALL_DIR) $(1)/opt/etc/angband/edit $(1)/opt/etc/angband/pref $(INSTALL_DATA) $(PKG_INSTALL_DIR)/opt/etc/angband/edit/*.txt $(1)/opt/etc/angband/edit $(INSTALL_DATA) $(PKG_INSTALL_DIR)/opt/etc/angband/pref/*.prf $(1)/opt/etc/angband/pref $(INSTALL_DIR) $(1)/opt/share/angband/file $(1)/opt/share/angband/help $(1)/opt/share/angband/info $(INSTALL_DATA) $(PKG_INSTALL_DIR)/opt/share/angband/file/*.txt $(1)/opt/share/angband/file $(INSTALL_DATA) $(PKG_INSTALL_DIR)/opt/share/angband/help/*.txt $(1)/opt/share/angband/help $(INSTALL_DATA) $(PKG_INSTALL_DIR)/opt/share/angband/help/*.hlp $(1)/opt/share/angband/help $(INSTALL_DATA) $(PKG_INSTALL_DIR)/opt/share/angband/info/*.txt $(1)/opt/share/angband/info endef $(eval $(call BuildPackage,angband))