| 1 | # Description: SMPEG command line MPEG audio/video player |
| 2 | # URL: http://icculus.org/smpeg/ |
| 3 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
| 4 | # Depends on: libsdl |
| 5 | |
| 6 | name=smpeg |
| 7 | version=0.4.5-r389 |
| 8 | release=1 |
| 9 | source=() |
| 10 | |
| 11 | build () { |
| 12 | svn co -r 389 svn://svn.icculus.org/$name/trunk $name-$version |
| 13 | cd $name-$version |
| 14 | |
| 15 | ./autogen.sh |
| 16 | |
| 17 | CFLAGS="$CFLAGS" \ |
| 18 | CXXFLAGS="$CXXFLAGS" \ |
| 19 | ./configure --build=$CHOST \ |
| 20 | --host=$CTARGET \ |
| 21 | --prefix=/usr \ |
| 22 | --mandir=/usr/man \ |
| 23 | --disable-opengl-player \ |
| 24 | --disable-gtk-player \ |
| 25 | --disable-sdltest \ |
| 26 | --with-sdl-prefix=$CLFS/usr \ |
| 27 | --with-x |
| 28 | make |
| 29 | make DESTDIR=$PKG install |
| 30 | } |