mirror of
https://github.com/RetroPie/RetroPie-Setup.git
synced 2025-04-02 10:51:41 -04:00
37 lines
1.2 KiB
Bash
37 lines
1.2 KiB
Bash
#!/usr/bin/env bash
|
|
|
|
# This file is part of The RetroPie Project
|
|
#
|
|
# The RetroPie Project is the legal property of its developers, whose names are
|
|
# too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source.
|
|
#
|
|
# See the LICENSE.md file at the top-level directory of this distribution and
|
|
# at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md
|
|
#
|
|
|
|
rp_module_id="mysticmine"
|
|
rp_module_desc="Mystic Mine - Rail game for up to six players on one keyboard"
|
|
rp_module_licence="MIT https://raw.githubusercontent.com/dewitters/MysticMine/master/LICENSE.txt"
|
|
rp_module_repo="git https://github.com/dewitters/MysticMine.git master"
|
|
rp_module_section="exp"
|
|
rp_module_flags="!:\$__os_debian_ver:-gt:10"
|
|
|
|
function depends_mysticmine() {
|
|
getDepends python-pyrex python-numpy python-pygame
|
|
}
|
|
|
|
function sources_mysticmine() {
|
|
gitPullOrClone
|
|
}
|
|
|
|
function build_mysticmine() {
|
|
make
|
|
}
|
|
|
|
function install_mysticmine() {
|
|
python2 setup.py install --prefix "$md_inst"
|
|
}
|
|
|
|
function configure_mysticmine() {
|
|
addPort "$md_id" "mysticmine" "MysticMine" "pushd $md_inst; PYTHONPATH=$PYTHONPATH:${md_inst}/lib/python2.7/site-packages ./bin/MysticMine; popd"
|
|
}
|