Add buildroot 2018-02
This commit is contained in:
9
buildroot/package/opentyrian-data/Config.in
Normal file
9
buildroot/package/opentyrian-data/Config.in
Normal file
@@ -0,0 +1,9 @@
|
||||
config BR2_PACKAGE_OPENTYRIAN_DATA
|
||||
bool "OpenTyrian data"
|
||||
depends on BR2_PACKAGE_OPENTYRIAN
|
||||
help
|
||||
Data files to use with OpenTyrian game. Currently only the
|
||||
original Tyrian 2.1 data files, that have been released as
|
||||
Freeware in 2004, are compatible.
|
||||
|
||||
http://code.google.com/p/opentyrian/wiki/FAQ
|
||||
2
buildroot/package/opentyrian-data/opentyrian-data.hash
Normal file
2
buildroot/package/opentyrian-data/opentyrian-data.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277 tyrian21.zip
|
||||
23
buildroot/package/opentyrian-data/opentyrian-data.mk
Normal file
23
buildroot/package/opentyrian-data/opentyrian-data.mk
Normal file
@@ -0,0 +1,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))
|
||||
Reference in New Issue
Block a user