Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add makerom for unpacking installation files to runnable format #1158

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions tur/ctrtool/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
TERMUX_PKG_HOMEPAGE=https://github.com/3DSGuy/Project_CTR
TERMUX_PKG_DESCRIPTION=" unpack 3ds install files to run on device makerom -ciatocci *.cia -o out.3ds"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@tur"
TERMUX_PKG_VERSION=$(date +"%y%m%d")
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=git+https://github.com/3DSGuy/Project_CTR
#TERMUX_PKG_GIT_BRANCH=android
TERMUX_PKG_DEPENDS="libandroid-posix-semaphore, libandroid-shmem, libandroid-wordexp, gawk, flex, bison, lld, llvm"
#TERMUX_PKG_BUILD_DEPENDS="libbthread, fdpp"
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="

"
TERMUX_PKG_EXTRA_MAKE_ARGS="V=1"
if $TERMUX_ON_DEVICE_BUILD; then TERMUX_PKG_MAKE_PROCESSES=1;fi

if !$TERMUX_ON_DEVICE_BUILD; then
echo " build and program tested and works but scripts untested might need tweaks "
read
fi

termux_step_post_get_source() {

}


termux_step_pre_configure() {

}

termux_step_post_configure(){
local CFLAGS+=" -w -Wno-error -Wfatal-errors"
}