aboutsummaryrefslogtreecommitdiff
path: root/package/opentyrian-data/opentyrian-data.mk
blob: aa3bd69d65051c574f8caa648cb5f1f2f791b321 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
################################################################################
#
# 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))