From ccaf43eac227b51debe20604b50ff62a4e3f5957 Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Wed, 20 Jan 2010 10:04:48 +0100 Subject: [PATCH] sdl_gfx: initial import (verified compilation) --- sdl_gfx/.footprint | 14 ++++++++++++++ sdl_gfx/.md5sum | 1 + sdl_gfx/Pkgfile | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+) create mode 100644 sdl_gfx/.footprint create mode 100644 sdl_gfx/.md5sum create mode 100644 sdl_gfx/Pkgfile diff --git a/sdl_gfx/.footprint b/sdl_gfx/.footprint new file mode 100644 index 0000000..23c6e50 --- /dev/null +++ b/sdl_gfx/.footprint @@ -0,0 +1,14 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/SDL/ +-rw-r--r-- root/root usr/include/SDL/SDL_framerate.h +-rw-r--r-- root/root usr/include/SDL/SDL_gfxPrimitives.h +-rw-r--r-- root/root usr/include/SDL/SDL_gfxPrimitives_font.h +-rw-r--r-- root/root usr/include/SDL/SDL_imageFilter.h +-rw-r--r-- root/root usr/include/SDL/SDL_rotozoom.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libSDL_gfx.a +-rwxr-xr-x root/root usr/lib/libSDL_gfx.la +lrwxrwxrwx root/root usr/lib/libSDL_gfx.so -> libSDL_gfx.so.13.0.0 +lrwxrwxrwx root/root usr/lib/libSDL_gfx.so.13 -> libSDL_gfx.so.13.0.0 +-rwxr-xr-x root/root usr/lib/libSDL_gfx.so.13.0.0 diff --git a/sdl_gfx/.md5sum b/sdl_gfx/.md5sum new file mode 100644 index 0000000..e28af16 --- /dev/null +++ b/sdl_gfx/.md5sum @@ -0,0 +1 @@ +b1ce778232db0b1979695f0a5a945a13 SDL_gfx-2.0.13.tar.gz diff --git a/sdl_gfx/Pkgfile b/sdl_gfx/Pkgfile new file mode 100644 index 0000000..cebdab4 --- /dev/null +++ b/sdl_gfx/Pkgfile @@ -0,0 +1,34 @@ +# Description: SDL graphics drawing primitives and other support functions. +# URL: http://www.ferzkopp.net/Software/SDL_gfx-2.0/index.html +# Packager: Simone Rota, sip at crux dot nu +# Maintainer: Danny Rawlins, monster dot romster at gmail dot com +# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org +# Depends on: libsdl + +name=sdl_gfx +version=2.0.13 +release=1 +source=(http://www.ferzkopp.net/Software/SDL_gfx-${version%.*}/SDL_gfx-$version.tar.gz) + +build() { + cd SDL_gfx-$version + + export DEFAULT_LIBS="-L$CLFS/usr/lib" + export DEFAULT_CFLAGS="-I$CLFS/usr/include" + export SDL_LIBS="$DEFAULT_LIBS -lSDL -lpthread" + export SDL_CFLAGS="$DEFAULT_CFLAGS -I$CLFS/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT" + + ./configure --build=$CHOST \ + --host=$CTARGET \ + --prefix=/usr \ + --with-sdl-prefix=$CLFS/usr \ + --disable-sdltest \ + --disable-mmx + + sed -i Makefile \ + -e "s|-I/usr|-I$CLFS/usr|g" \ + -e "s|-L/usr|-L$CLFS/usr|g" + + make + make DESTDIR=$PKG install +} -- 2.26.2