--- /dev/null
+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
--- /dev/null
+# 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
+}