build-dropbear.sh

build-dropbear.sh
#!/bin/bash
set -x
. $(dirname $0)/config
 
cd $SOURCES
wget -c http://matt.ucc.asn.au/dropbear/releases/dropbear-0.52.tar.bz2
 
cd $BUILD
 
rm -rf dropbear-0.52/
tar -xf $SOURCES/dropbear-0.52.tar.bz2 
cd dropbear-0.52/
 
CPPFLAGS="-I$STAGING/usr/include $CF" \
LDFLAGS="-L$STAGING/usr/lib $LF" \
./configure \
	--prefix=/usr \
	--host=$CROSS_COMPILE
 
make $J
fakeroot make DESTDIR=$STAGING install
ostatnio zmienione: 2011/08/19 13:50