kumquat-buildroot/package/doom-wad/doom-wad.mk
Jerzy Grzegorek c7f4b96471 package: remove the trailing slash sign from <PKG>_SITE variable
Since the trailing slash is stripped from $($(PKG)_SITE) by pkg-generic.mk:

$(call DOWNLOAD,$($(PKG)_SITE:/=)/$($(PKG)_SOURCE))

so it is redundant.
This patch removes it from $(PKG)_SITE variable for BR consistency.

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-07-31 23:17:46 +02:00

21 lines
554 B
Makefile

################################################################################
#
# 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
$(eval $(generic-package))