From 78d9306b2dca8c84206b81b8e543fb89f7540608 Mon Sep 17 00:00:00 2001 From: mid-kid Date: Wed, 12 Apr 2017 21:15:41 +0200 Subject: [PATCH] Add devkitarm-general-tools and devkitarm-libctru --- satellites/devkitarm-general-tools.sat | 15 +++++++++++++++ satellites/devkitarm-libctru.sat | 25 +++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 satellites/devkitarm-general-tools.sat create mode 100644 satellites/devkitarm-libctru.sat diff --git a/satellites/devkitarm-general-tools.sat b/satellites/devkitarm-general-tools.sat new file mode 100644 index 0000000..0b2f801 --- /dev/null +++ b/satellites/devkitarm-general-tools.sat @@ -0,0 +1,15 @@ +name=general-tools +version=1.0.0 +update_url='https://sourceforge.net/projects/devkitpro/files/sources/tools/' + +dlextract "https://sourceforge.net/projects/devkitpro/files/sources/tools/$name-$version.tar.bz2" \ + 'ad13e4e3521e49156340c57ecb3c1b76' +header_end + +cd "$name-$version" + +./configure --prefix="/$dir_prefix/$dir_libdir/devkitPRO/devkitARM" +make +make DESTDIR="$dir_install" install + +# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: diff --git a/satellites/devkitarm-libctru.sat b/satellites/devkitarm-libctru.sat new file mode 100644 index 0000000..154357c --- /dev/null +++ b/satellites/devkitarm-libctru.sat @@ -0,0 +1,25 @@ +name=libctru +version=1.2.1 +update_url="https://github.com/smealum/ctrulib/releases" + +dlextract "https://github.com/smealum/ctrulib/releases/download/v$version/$name-src-$version.tar.bz2" \ + 'd4bdcb71d74b0e7b62003dbb191e4803' +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: