name=libctru version=1.5.0 dlextract "https://github.com/smealum/ctrulib/releases/download/v$version/$name-src-$version.tar.bz2" \ '68dd5ce51bc733d5a51b6c5ae2ab5cfe' _ # The makefile doesn't like it when this directory is called build builddir=build if [ "$(basename "$PWD")" = 'build' ]; then builddir=totallynotbuild fi make \ DEVKITPRO="/$dir_prefix/$dir_lib/devkitPRO" \ DEVKITARM="/$dir_prefix/$dir_lib/devkitPRO/devkitARM" \ BUILD="$builddir" make install \ DEVKITPRO="$dir_install/$dir_prefix/$dir_lib/devkitPRO" \ DEVKITARM="/$dir_prefix/$dir_lib/devkitPRO/devkitARM" \ BUILD="$builddir" # vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: