new package: add libjpeg-turbo as an fast jpeg alternative

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-06-25 16:17:45 +02:00
parent eb27e84602
commit ffdb84d750
3 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,25 @@
#!/bin/sh
. config/options
$SCRIPTS/build toolchain
# ensure we dont use size optimization.
CFLAGS=`echo $CFLAGS | sed -e "s|-Os|-O3|"`
CXXFLAGS=`echo $CXXFLAGS | sed -e "s|-Os|-O3|"`
cd $PKG_BUILD
$AUTORECONF
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
--enable-shared \
make
$MAKEINSTALL

View File

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

View File

@ -0,0 +1 @@
http://sources.openelec.tv/svn/libjpeg-turbo-214.tar.bz2