2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-03-18 22:33:00 +01:00
|
|
|
#
|
|
|
|
# doom-wad
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-03-18 22:33:00 +01:00
|
|
|
|
2015-12-24 12:35:34 +01:00
|
|
|
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
|
2012-03-18 22:33:00 +01:00
|
|
|
|
|
|
|
define DOOM_WAD_EXTRACT_CMDS
|
2018-04-02 15:09:24 +02:00
|
|
|
$(UNZIP) -p $(DOOM_WAD_DL_DIR)/$($(PKG)_SOURCE) 'DOOMS_19.[12]' > \
|
2015-12-24 12:35:34 +01:00
|
|
|
$(@D)/doom-$(DOOM_WAD_VERSION).zip
|
|
|
|
$(UNZIP) -d $(@D) $(@D)/doom-$(DOOM_WAD_VERSION).zip DOOM1.WAD
|
2012-03-18 22:33:00 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define DOOM_WAD_INSTALL_TARGET_CMDS
|
2015-12-24 12:35:34 +01:00
|
|
|
$(INSTALL) -m 0644 -D $(@D)/DOOM1.WAD \
|
2012-03-18 22:33:00 +01:00
|
|
|
$(TARGET_DIR)/usr/share/games/doom/doom1.wad
|
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|