You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
692 B
24 lines
692 B
name=libctru
|
|
version=1.4.0
|
|
|
|
dlextract "https://github.com/smealum/ctrulib/releases/download/v$version/$name-src-$version.tar.bz2" \
|
|
'460645e1985bd2c47b02a1a24e712241'
|
|
_
|
|
|
|
# The makefile doesn't like it when this directory is named 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:
|
|
|