build-libpng.sh

build-libpng.sh
#!/bin/bash
set -x
. $(dirname $0)/config
 
cd $SOURCES
wget -c http://download.sourceforge.net/libpng/libpng-1.2.42.tar.gz
 
cd $BUILD
 
rm -rf libpng-1.2.42
tar -xf $SOURCES/libpng-1.2.42.tar.gz
cd libpng-1.2.42
 
CPPFLAGS="-I$STAGING/usr/include $CF" \
LDFLAGS="-L$STAGING/usr/lib $LF" \
./configure \
	--prefix=/usr \
	--host=$CROSS_COMPILE
 
make $J
make DESTDIR=$STAGING install
ostatnio zmienione: 2011/08/19 13:50