ALSA

build-alsalib.sh

build-alsalib.sh
#!/bin/bash
set -x
. $(dirname $0)/config
 
cd $SOURCES
wget -c ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.23.tar.bz2
 
cd $BUILD
 
rm -rf alsa-lib-1.0.23/
tar -xf $SOURCES/alsa-lib-1.0.23.tar.bz2 
cd alsa-lib-1.0.23/
 
CPPFLAGS=$CF \
LDFLAGS=$LF \
./configure \
	--prefix=/usr \
	--host=$CROSS_COMPILE \
	--disable-python \
	--disable-old-symbols \
	--disable-alisp \
	--disable-seq \
	--disable-rawmidi \
	--enable-shared \
	--with-softfloat
 
make $J
make DESTDIR=$STAGING install

build-alsa.sh

build-alsa.sh
#!/bin/bash
set -x
. $(dirname $0)/config
 
cd $SOURCES
wget -c ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.23.tar.bz2
 
cd $BUILD
 
rm -rf alsa-utils-1.0.23/
tar -xf $SOURCES/alsa-utils-1.0.23.tar.bz2 
cd alsa-utils-1.0.23/
 
CPPFLAGS="-I$STAGING/usr/include $CF" \
LDFLAGS="-L$STAGING/usr/lib $LF" \
./configure \
	--prefix=/usr \
	--host=$CROSS_COMPILE \
	--disable-nls \
	--disable-alsatest \
	--disable-xmlto
 
make $J
make DESTDIR=$STAGING install
ostatnio zmienione: 2011/08/19 13:50