diff options
author | John Voltz <john.voltz@gmail.com> | 2008-03-06 18:17:13 +0000 |
---|---|---|
committer | John Voltz <john.voltz@gmail.com> | 2008-03-06 18:17:13 +0000 |
commit | 271f31243c45ccc0f5e89b4cae16726c423cdb41 (patch) | |
tree | 665c8bd11cb23532463b8a10f6bbd525149fcf0e /package/lxdoom/lxdoom-wad.mk | |
parent | 2aa7b70339f5d1d3d7d277c6301858ebc44777ec (diff) | |
download | buildroot-novena-271f31243c45ccc0f5e89b4cae16726c423cdb41.tar.gz buildroot-novena-271f31243c45ccc0f5e89b4cae16726c423cdb41.zip |
fixed lxdoom make
Diffstat (limited to 'package/lxdoom/lxdoom-wad.mk')
-rw-r--r-- | package/lxdoom/lxdoom-wad.mk | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/package/lxdoom/lxdoom-wad.mk b/package/lxdoom/lxdoom-wad.mk new file mode 100644 index 000000000..41b8ed8a1 --- /dev/null +++ b/package/lxdoom/lxdoom-wad.mk @@ -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 + |