From ddbc2bd0627e5547868778d918fa3e2c204dd14b Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Mon, 18 Jan 2010 09:19:01 +0000 Subject: [PATCH] sdl_net: Initial import (verified compilation) --- sdl_net/.footprint | 10 ++++++++++ sdl_net/.md5sum | 1 + sdl_net/Pkgfile | 26 ++++++++++++++++++++++++++ 3 files changed, 37 insertions(+) create mode 100644 sdl_net/.footprint create mode 100644 sdl_net/.md5sum create mode 100644 sdl_net/Pkgfile diff --git a/sdl_net/.footprint b/sdl_net/.footprint new file mode 100644 index 0000000..6b3e6e6 --- /dev/null +++ b/sdl_net/.footprint @@ -0,0 +1,10 @@ +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_net.h +drwxr-xr-x root/root usr/lib/ +lrwxrwxrwx root/root usr/lib/libSDL_net-1.2.so.0 -> libSDL_net-1.2.so.0.0.7 +-rwxr-xr-x root/root usr/lib/libSDL_net-1.2.so.0.0.7 +-rw-r--r-- root/root usr/lib/libSDL_net.a +-rwxr-xr-x root/root usr/lib/libSDL_net.la +lrwxrwxrwx root/root usr/lib/libSDL_net.so -> libSDL_net-1.2.so.0.0.7 diff --git a/sdl_net/.md5sum b/sdl_net/.md5sum new file mode 100644 index 0000000..ba604c1 --- /dev/null +++ b/sdl_net/.md5sum @@ -0,0 +1 @@ +6bd4662d1423810f3140d4da21b6d912 SDL_net-1.2.7.tar.gz diff --git a/sdl_net/Pkgfile b/sdl_net/Pkgfile new file mode 100644 index 0000000..3c8c6ad --- /dev/null +++ b/sdl_net/Pkgfile @@ -0,0 +1,26 @@ +# Description: A cross-platform networking library for SDL. +# URL: http://www.libsdl.org/projects/SDL_net/ +# 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_net +version=1.2.7 +release=1 +source=(http://www.libsdl.org/projects/SDL_net/release/SDL_net-$version.tar.gz) + +build() { + cd SDL_net-$version + sed -e 's|`$SDL_CONFIG $sdlconf_args --cflags`|"-I$CLFS/usr/include -I$CLFS/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT"|g' \ + -e 's|`$SDL_CONFIG $sdlconf_args --libs`|"-L$CLFS/usr/lib -lSDL -lpthread"|g' -i configure + ./configure --build=$CHOST \ + --host=$CTARGET \ + --prefix=/usr \ + --disable-sdltest \ + --disable-gui \ + --with-sdl-prefix=$CLFS/usr \ + --prefix=/usr + make + make DESTDIR=$PKG install +} -- 2.26.2