buildrootschalter/package/opentyrian-data/opentyrian-data.mk
Fabio Porcedda ac9621d995 unzip: Use the "-q" option to silence unzipping of source files
Add and use the "UNZIP" variable instead of calling directly unzip
because the variable contains the "-q" option to silence "unzip" so it
doesn't show the list of files extracted just like when tar files are
being unpacked.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-11-02 22:48:50 +01:00

24 lines
740 B
Makefile

################################################################################
#
# opentyrian-data
#
################################################################################
OPENTYRIAN_DATA_VERSION = 2.1
OPENTYRIAN_DATA_SITE = http://www.camanis.net/opentyrian
OPENTYRIAN_DATA_SOURCE = tyrian21.zip
OPENTYRIAN_DATA_LICENSE = Freeware
define OPENTYRIAN_DATA_EXTRACT_CMDS
$(UNZIP) -d $(@D) $(DL_DIR)/$(OPENTYRIAN_DATA_SOURCE)
endef
define OPENTYRIAN_DATA_INSTALL_TARGET_CMDS
mkdir -p $(TARGET_DIR)/usr/share/opentyrian/data/
cp $(@D)/tyrian21/* $(TARGET_DIR)/usr/share/opentyrian/data/
rm -f $(TARGET_DIR)/usr/share/opentyrian/data/*.doc
rm -f $(TARGET_DIR)/usr/share/opentyrian/data/*.exe
endef
$(eval $(generic-package))