xref: /OK3568_Linux_fs/buildroot/package/minetest-game/minetest-game.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1################################################################################
2#
3# minetest_game
4#
5################################################################################
6
7MINETEST_GAME_VERSION = 5.4.1
8MINETEST_GAME_SITE = $(call github,minetest,minetest_game,$(MINETEST_GAME_VERSION))
9MINETEST_GAME_LICENSE = LGPL-2.1+ (code), CC-BY-SA-2.0, CC-BY-SA-3.0, \
10	CC-BY-SA-4.0, MIT, CC0 1.0, CC-BY-2.0 (mods)
11MINETEST_GAME_LICENSE_FILES = LICENSE.txt \
12	mods/beds/license.txt \
13	mods/binoculars/license.txt \
14	mods/boats/license.txt \
15	mods/bones/license.txt \
16	mods/bucket/license.txt \
17	mods/butterflies/license.txt \
18	mods/carts/license.txt \
19	mods/creative/license.txt \
20	mods/default/license.txt \
21	mods/doors/license.txt \
22	mods/dungeon_loot/license.txt \
23	mods/dye/license.txt \
24	mods/env_sounds/license.txt \
25	mods/farming/license.txt \
26	mods/fire/license.txt \
27	mods/fireflies/license.txt \
28	mods/flowers/license.txt \
29	mods/game_commands/license.txt \
30	mods/give_initial_stuff/license.txt \
31	mods/map/license.txt \
32	mods/player_api/license.txt \
33	mods/screwdriver/license.txt \
34	mods/sethome/license.txt \
35	mods/sfinv/license.txt \
36	mods/spawn/license.txt \
37	mods/stairs/license.txt \
38	mods/tnt/license.txt \
39	mods/vessels/license.txt \
40	mods/walls/license.txt \
41	mods/wool/license.txt \
42	mods/xpanes/license.txt
43
44define MINETEST_GAME_INSTALL_TARGET_CMDS
45	mkdir -p $(TARGET_DIR)/usr/share/minetest/games/minetest_game
46	cp -dpfr $(@D)/* $(TARGET_DIR)/usr/share/minetest/games/minetest_game
47endef
48
49$(eval $(generic-package))
50