kumquat-buildroot/package/opentyrian-data/opentyrian-data.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

24 lines
737 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))