Move buildroot to bsp directory.
This commit is contained in:
7
bsp/buildroot/package/doom-wad/Config.in
Normal file
7
bsp/buildroot/package/doom-wad/Config.in
Normal file
@@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_DOOM_WAD
|
||||
bool "shareware Doom WAD file"
|
||||
depends on BR2_PACKAGE_CHOCOLATE_DOOM || 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.
|
||||
2
bsp/buildroot/package/doom-wad/doom-wad.hash
Normal file
2
bsp/buildroot/package/doom-wad/doom-wad.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally computed
|
||||
sha256 cacf0142b31ca1af00796b4a0339e07992ac5f21bc3f81e7532fe1b5e1b486e6 doom19s.zip
|
||||
24
bsp/buildroot/package/doom-wad/doom-wad.mk
Normal file
24
bsp/buildroot/package/doom-wad/doom-wad.mk
Normal file
@@ -0,0 +1,24 @@
|
||||
################################################################################
|
||||
#
|
||||
# doom-wad
|
||||
#
|
||||
################################################################################
|
||||
|
||||
DOOM_WAD_VERSION = 1.9
|
||||
DOOM_WAD_SOURCE = doom$(subst .,,$(DOOM_WAD_VERSION))s.zip
|
||||
# Official server currently unavailable
|
||||
# DOOM_WAD_SITE = ftp://ftp.idsoftware.com/idstuff/doom
|
||||
DOOM_WAD_SITE = http://www.jbserver.com/downloads/games/doom/misc/shareware
|
||||
|
||||
define DOOM_WAD_EXTRACT_CMDS
|
||||
$(UNZIP) -p $(DL_DIR)/$($(PKG)_SOURCE) 'DOOMS_19.[12]' > \
|
||||
$(@D)/doom-$(DOOM_WAD_VERSION).zip
|
||||
$(UNZIP) -d $(@D) $(@D)/doom-$(DOOM_WAD_VERSION).zip 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
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user