mkdir -p /opt/devkitpro
 
chmod 777 /opt/devkitpro

cd /opt/devkitpro

7za x devkitPPC_r25-win32.exe

cd libogc 

tar -xvjf libogc-1.8.11.1.tar.bz2

tar -xvjf libfat-ogc-1.0.11.tar.bz2

cd ..

export DEVKITPRO=/opt/devkitpro

export DEVKITPPC=$DEVKITPRO/devkitPPC

cd portlibs/ppc

tar xvjf zlib-1.2.5-ppc.tar.bz2

tar xvjf mxml-2.6-ppc.tar.bz2

tar xvjf jpeg-8d-ppc.tar.bz2

tar xvjf freetype-2.4.2-ppc.tar.bz2

tar xvjf libpng-1.5.4-ppc.tar.bz2

tar xvjf libpng-1.5.4-ppc.tar.bz2

cd libext2fs-wii-read-only

make

make install

cd ..

cd libntfs-wii-read-only

make

make install

cd /opt

cd wiimc-read-only

cd libs

make

cd fribidi

make install

cd ..

cd libexif

make install

cd ..

cd libiconv

make install

cd ..

cd ..

make clean

make

