1 # Description: SDL graphics drawing primitives and other support functions.
2 # URL: http://www.ferzkopp.net/Software/SDL_gfx-2.0/index.html
3 # Packager: Simone Rota, sip at crux dot nu
4 # Maintainer: Danny Rawlins, monster dot romster at gmail dot com
5 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
11 source=(http://www.ferzkopp.net/Software/SDL_gfx-${version%.*}/SDL_gfx-$version.tar.gz)
16 export DEFAULT_LIBS="-L$CLFS/usr/lib"
17 export DEFAULT_CFLAGS="-I$CLFS/usr/include"
18 export SDL_LIBS="$DEFAULT_LIBS -lSDL -lpthread"
19 export SDL_CFLAGS="$DEFAULT_CFLAGS -I$CLFS/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT"
21 ./configure --build=$CHOST \
24 --with-sdl-prefix=$CLFS/usr \
29 -e "s|-I/usr|-I$CLFS/usr|g" \
30 -e "s|-L/usr|-L$CLFS/usr|g"
33 make DESTDIR=$PKG install