build-libjpeg.sh

build-libjpeg.sh
#!/bin/bash
set -x
. $(dirname $0)/config
 
cd $SOURCES
wget -c http://www.ijg.org/files/jpegsrc.v8.tar.gz
 
cd $BUILD
 
rm -rf jpeg-8
tar -xf $SOURCES/jpegsrc.v8.tar.gz
cd jpeg-8
 
CPPFLAGS="$CF" \
LDFLAGS="$LF" \
./configure \
	--prefix=/usr \
	--host=$CROSS_COMPILE
 
make $J
make DESTDIR=$STAGING install
ostatnio zmienione: 2011/08/19 13:50