build-zlib.sh

build-zlib.sh
#!/bin/bash
set -x
. $(dirname $0)/config
 
cd $SOURCES
wget -c http://zlib.net/zlib-1.2.5.tar.gz
 
cd $BUILD
 
rm -rf zlib-1.2.5/
tar -xf $SOURCES/zlib-1.2.5.tar.gz
cd zlib-1.2.5/
 
CC=$CROSS_COMPILE-gcc ./configure --prefix=$STAGING/usr --shared
make $J
make install
ostatnio zmienione: 2011/08/19 13:50