new package: add package 'SDL_net'

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-07-15 21:21:04 +02:00
parent 11c9a79f93
commit d1e2bdffa5
3 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,21 @@
#!/bin/sh
. config/options
$SCRIPTS/build toolchain
$SCRIPTS/build SDL
cd $PKG_BUILD
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-shared \
--disable-static \
--disable-gui \
--with-sdl-prefix="$SYSROOT_PREFIX/usr"
make
$MAKEINSTALL

View File

@ -0,0 +1,9 @@
#!/bin/sh
. config/options
$SCRIPTS/install SDL
mkdir -p $INSTALL/usr/lib
cp -P $PKG_BUILD/.libs/*.so* $INSTALL/usr/lib

View File

@ -0,0 +1 @@
http://www.libsdl.org/projects/SDL_net/release/SDL_net-1.2.7.tar.gz