summaryrefslogtreecommitdiffstats
path: root/package/games/lxdoom/lxdoom-wad.mk
diff options
context:
space:
mode:
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2008-09-24 12:53:45 +0000
committerHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2008-09-24 12:53:45 +0000
commit7108decafe79ff862837a1a7a8f447eed90eb28f (patch)
tree7c73b596d4dbe9e88dba8126c895ee2fb462ebab /package/games/lxdoom/lxdoom-wad.mk
parente40448aa34be9a626a031e893d51177d761a5c57 (diff)
downloadbuildroot-novena-7108decafe79ff862837a1a7a8f447eed90eb28f.tar.gz
buildroot-novena-7108decafe79ff862837a1a7a8f447eed90eb28f.zip
doom-wad: split out and fix installation of Doom shareware wad file
This patch splits the installation of the shareware WAD file into a separate package. The wad file will also be installed into /usr/share/games/doom directory, since the client will search this directory when starting. The Makefile rule has also been altered to use tools defined by Buildroot to extract and install the wad file. The package is also multiple project safe now. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Diffstat (limited to 'package/games/lxdoom/lxdoom-wad.mk')
-rw-r--r--package/games/lxdoom/lxdoom-wad.mk35
1 files changed, 0 insertions, 35 deletions
diff --git a/package/games/lxdoom/lxdoom-wad.mk b/package/games/lxdoom/lxdoom-wad.mk
deleted file mode 100644
index 0f7d79911..000000000
--- a/package/games/lxdoom/lxdoom-wad.mk
+++ /dev/null
@@ -1,35 +0,0 @@
-#############################################################
-#
-# lxdoom-wad
-#
-#############################################################
-
-LXDOOM_WAD_VERSION = 1.8
-LXDOOM_WAD_SOURCE = doom-$(LXDOOM_WAD_VERSION).wad.gz
-LXDOOM_WAD_SITE = ftp://ftp.idsoftware.com/idstuff/doom/
-LXDOOM_WAD_DIR=$(BUILD_DIR)/lxdoom-$(LXDOOM_WAD_VERSION)-wad
-
-$(DL_DIR)/$(LXDOOM_WAD_SOURCE):
- $(WGET) -P $(DL_DIR) $(LXDOOM_WAD_SITE)/$(LXDOOM_WAD_SOURCE)
-
-$(LXDOOM_WAD_DIR)/.unpacked: $(DL_DIR)/$(LXDOOM_WAD_SOURCE)
- mkdir -p $(LXDOOM_WAD_DIR)
- cp -f $(DL_DIR)/$(LXDOOM_WAD_SOURCE) $(LXDOOM_WAD_DIR)
- gunzip -d $(LXDOOM_WAD_DIR)/$(LXDOOM_WAD_SOURCE)
- touch $@
-
-$(LXDOOM_WAD_DIR)/.installed: $(LXDOOM_WAD_DIR)/.unpacked
- cp -f $(LXDOOM_WAD_DIR)/* $(TARGET_DIR)/usr/games
- touch $@
-
-lxdoom-wad: lxdoom $(LXDOOM_WAD_DIR)/.installed
-
-#############################################################
-#
-# Toplevel Makefile options
-#
-#############################################################
-ifeq ($(strip $(BR2_PACKAGE_LXDOOM_WAD)),y)
-TARGETS+=lxdoom-wad
-endif
-