build-madplay.sh

build-madplay.sh
#!/bin/bash
set -x
. $(dirname $0)/config
 
cd $SOURCES
wget -c ftp://ftp.mars.org/pub/mpeg/madplay-0.15.2b.tar.gz
 
cd $BUILD
 
rm -rf madplay-0.15.2b/
tar -xf $SOURCES/madplay-0.15.2b.tar.gz 
cd madplay-0.15.2b/
 
CPPFLAGS="-I$STAGING/usr/include $CF" \
LDFLAGS="-L$STAGING/usr/lib $LF" \
./configure \
	--prefix=/usr \
	--host=$CROSS_COMPILE \
	--disable-nls \
	--disable-debugging \
	--disable-rpath \
	--with-alsa
 
sed -i -r 's/^(hardcode_libdir_flag_spec=")..*"$/\1"/' libtool
 
make $J
make DESTDIR=$STAGING install
ostatnio zmienione: 2011/08/19 13:50