Skip to contentSkip to conversation

svn commit: trunk/buildroot/package/lxdoom

Buildroot ninevoltz at uclibc.org 1 participant 1 message Mar 6, 2008

lore
Share & tools
lore
#0 lore raw

Author: ninevoltz
Date: 2008-03-06 10:17:13 -0800 (Thu, 06 Mar 2008) New Revision: 21210

Log:
fixed lxdoom make

Added:
trunk/buildroot/package/lxdoom/lxdoom-1.4.4-updated.patch trunk/buildroot/package/lxdoom/lxdoom-wad.mk

Modified:
trunk/buildroot/package/lxdoom/Config.in
trunk/buildroot/package/lxdoom/lxdoom.mk

Changeset:
Modified: trunk/buildroot/package/lxdoom/Config.in
===================================================================

buildroot/package/lxdoom/Config.in +7 -2
@@ -1,5 +1,10 @@
-config BR2_PACKAGE_DOOM
-	bool "doom"
+config BR2_PACKAGE_LXDOOM
+	bool "lxdoom"
 	default n
 	help
 	  This is the linux version of the popular doom game.
+config BR2_PACKAGE_LXDOOM_WAD
+	bool "lxdoom-wad"
+	default n
+	help
+	  This is the shareware wad data files for the doom game.

Added: trunk/buildroot/package/lxdoom/lxdoom-1.4.4-updated.patch
===================================================================

buildroot/package/lxdoom/lxdoom-1.4.4-updated.patch +173 -0

174 lines not on this page · raw message

Added: trunk/buildroot/package/lxdoom/lxdoom-wad.mk
===================================================================

buildroot/package/lxdoom/lxdoom-wad.mk +35 -0
@@ -0,0 +1,35 @@
+#############################################################
+#
+# 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
+

Modified: trunk/buildroot/package/lxdoom/lxdoom.mk
===================================================================

buildroot/package/lxdoom/lxdoom.mk +13 -73

93 lines not on this page · raw message