build-powertop.sh

build-powertop.sh
#!/bin/bash
set -x
. $(dirname $0)/config
 
cd $SOURCES
wget -c http://www.lesswatts.org/projects/powertop/download/powertop-1.13.tar.gz
 
cd $BUILD
 
rm -rf  powertop-1.13/
tar -xf $SOURCES/powertop-1.13.tar.gz
cd powertop-1.13/
 
make \
	CC=$CROSS_COMPILE-gcc \
	CFLAGS="-L$STAGING/usr/lib -I$STAGING/usr/include -DVERSION=\\\"1.13\\\""
 
make DESTDIR=$STAGING install
ostatnio zmienione: 2011/08/19 13:50