build-curl.sh

build-curl.sh
#!/bin/bash
set -x
. $(dirname $0)/config
 
cd $SOURCES
wget -c http://curl.haxx.se/download/curl-7.21.1.tar.bz2
 
cd $BUILD
 
rm -rf curl-7.21.1
tar -xf $SOURCES/curl-7.21.1.tar.bz2
cd curl-7.21.1/
 
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