1 # Description: Stella is a multi-platform Atari 2600 VCS emulator
2 # URL: http://stella.sourceforge.net/
3 # Maintainer: Jose V Beneyto, sepen at crux dot nu
4 # Packager: Jose V Beneyto, sepen at crux dot nu
5 # Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
11 source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version-src.tar.gz \
12 $name-$version.cross_compile.patch)
17 patch -p1 -i $SRC/$name-$version.cross_compile.patch
19 -e "s|^INCLUDES +=|INCLUDES += -I$CLFS/usr/include -I$CLFS/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT|" \
20 -e "s|^LIBS +=|LIBS += -L$CLFS/usr/lib -lSDL -lpthread|"
22 ./configure --build=$CHOST \
26 --x-libraries=/usr/lib \
27 --with-sdl-prefix=$CLFS/usr
30 -e 's|all: tags|all:|' \
31 -e 's|$(INSTALL) -c -s|$(INSTALL)|'
34 make DESTDIR=$PKG install
36 install -D -m 0644 src/common/$name.xpm $PKG/usr/share/pixmaps/$name.xpm
37 rm -rf $PKG/usr/share/{doc,icons}