diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2012-11-05 08:23:06 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-11-05 08:23:06 +0100 |
commit | 9b809e1a6ad2a82bfe0d2383f69f45ae8c6283bb (patch) | |
tree | 637617fcd0b2e5097f62e588b4d1d51c84be2740 /package/doom-wad | |
parent | 7c992ac3410e6694d8697b770eb3b0463b80a0a4 (diff) | |
download | buildroot-novena-9b809e1a6ad2a82bfe0d2383f69f45ae8c6283bb.tar.gz buildroot-novena-9b809e1a6ad2a82bfe0d2383f69f45ae8c6283bb.zip |
package: drop games/ subdir
As discussed during the dev day.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/doom-wad')
-rw-r--r-- | package/doom-wad/Config.in | 7 | ||||
-rw-r--r-- | package/doom-wad/doom-wad.mk | 24 |
2 files changed, 31 insertions, 0 deletions
diff --git a/package/doom-wad/Config.in b/package/doom-wad/Config.in new file mode 100644 index 000000000..aa1d029eb --- /dev/null +++ b/package/doom-wad/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_DOOM_WAD + bool "shareware Doom WAD file" + depends on BR2_PACKAGE_PRBOOM + help + This will install the shareware wad data file for the doom game. + + The wad file will be placed in the /usr/share/games/doom directory. diff --git a/package/doom-wad/doom-wad.mk b/package/doom-wad/doom-wad.mk new file mode 100644 index 000000000..ae5dcef3d --- /dev/null +++ b/package/doom-wad/doom-wad.mk @@ -0,0 +1,24 @@ +############################################################# +# +# doom-wad +# +############################################################# + +DOOM_WAD_VERSION = 1.8 +DOOM_WAD_SOURCE = doom-$(DOOM_WAD_VERSION).wad.gz +DOOM_WAD_SITE = ftp://ftp.idsoftware.com/idstuff/doom/ + +define DOOM_WAD_EXTRACT_CMDS + $(ZCAT) $(DL_DIR)/$($(PKG)_SOURCE) > $(@D)/doom1.wad +endef + +define DOOM_WAD_INSTALL_TARGET_CMDS + $(INSTALL) -m 0644 -D $(@D)/doom1.wad \ + $(TARGET_DIR)/usr/share/games/doom/doom1.wad +endef + +define DOOM_WAD_UNINSTALL_TARGET_CMDS + rm -f $(TARGET_DIR)/usr/share/games/doom/doom1.wad +endef + +$(eval $(generic-package)) |