1 # Maintainer: Matthew Bauer <mjbauer95@gmail.com>
6 pkgdesc="SDL port for the Wii."
7 makedepends=(libogc-svn devkitppc sdl-wii-pre-svn sdl-wii-deps)
10 url="http://code.google.com/p/sdl-wii"
13 _svntrunk=http://sdl-wii.googlecode.com/svn/trunk/
17 mkdir -p $pkgdir/opt/devkitpro/libogc/include;
18 mkdir -p $pkgdir/opt/devkitpro/libogc/lib/wii;
22 if [ -d $_svnmod/.svn ]; then
23 (cd $_svnmod && svn up -r $pkgver)
25 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
28 msg "SVN checkout done or server timeout"
29 msg "Starting make..."
31 cp -r $_svnmod $_svnmod-build
35 make INSTALL_HEADER_DIR=$pkgdir/opt/devkitpro/libogc/include INSTALL_LIB_DIR=$pkgdir/opt/devkitpro/libogc/lib/wii install
37 rm $pkgdir/opt/devkitpro/libogc/lib/wii/libsmpeg.a
38 rm $pkgdir/opt/devkitpro/libogc/lib/wii/libSDL.a
39 rm -r $pkgdir/opt/devkitpro/libogc/include/SDL
40 rm -r $pkgdir/opt/devkitpro/libogc/include/mpeg