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.
25 lines
770 B
25 lines
770 B
name=libctru
|
|
version=1.3.0
|
|
update_url="https://github.com/smealum/ctrulib/releases"
|
|
|
|
dlextract "https://github.com/smealum/ctrulib/releases/download/v$version/$name-src-$version.tar.bz2" \
|
|
'2bdc36451a6d4068e50ea7712939b319'
|
|
header_end
|
|
|
|
# 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_libdir/devkitPRO" \
|
|
DEVKITARM="/$dir_prefix/$dir_libdir/devkitPRO/devkitARM" \
|
|
BUILD="$builddir"
|
|
|
|
make install \
|
|
DEVKITPRO="$dir_install/$dir_prefix/$dir_libdir/devkitPRO" \
|
|
DEVKITARM="/$dir_prefix/$dir_libdir/devkitPRO/devkitARM" \
|
|
BUILD="$builddir"
|
|
|
|
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab:
|
|
|