1 # Maintainer: Matthew Bauer <mjbauer95@gmail.com>
3 pkgname=sdl-wii-pre-svn
6 pkgdesc="SDL port for the Wii."
7 makedepends=(libogc-svn "devkitppc>=17" sdl-wii-deps)
9 url="http://code.google.com/p/sdl-wii"
12 _svntrunk=http://sdl-wii.googlecode.com/svn/trunk/
16 mkdir -p $pkgdir/opt/devkitpro/libogc/include;
17 mkdir -p $pkgdir/opt/devkitpro/libogc/lib/wii;
21 if [ -d $_svnmod/.svn ]; then
22 (cd $_svnmod && svn up -r $pkgver)
24 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
27 msg "SVN checkout done or server timeout"
28 msg "Starting make..."
30 cp -r $_svnmod $_svnmod-build
34 make INSTALL_HEADER_DIR=$pkgdir/opt/devkitpro/libogc/include INSTALL_LIB_DIR=$pkgdir/opt/devkitpro/libogc/lib/wii install
38 make INSTALL_HEADER_DIR=$pkgdir/opt/devkitpro/libogc/include INSTALL_LIB_DIR=$pkgdir/opt/devkitpro/libogc/lib/wii install