mirror of
https://gitee.com/openharmony/third_party_alsa-lib
synced 2024-11-23 07:30:32 +00:00
39280c6f22
Signed-off-by: zenglifeng <zenglifeng2@huawei.com>
27 lines
525 B
Bash
Executable File
27 lines
525 B
Bash
Executable File
#!/bin/bash
|
|
# Allen Riemann
|
|
set -e
|
|
|
|
ALSA_LIB_PATH=$1
|
|
modules=
|
|
alisp=
|
|
prefix=
|
|
libdir="/lib"
|
|
configdir="/etc/audio/alsa/share"
|
|
args="--disable-aload --prefix=$prefix --libdir=$libdir --with-configdir=$configdir"
|
|
|
|
export LC_ALL=C
|
|
cd ${ALSA_LIB_PATH}
|
|
touch ltconfig
|
|
libtoolize --force --copy --automake
|
|
aclocal $ACLOCAL_FLAGS
|
|
autoheader
|
|
automake --foreign --copy --add-missing
|
|
touch depcomp # seems to be missing for old automake
|
|
autoconf
|
|
echo "./configure $args"
|
|
${ALSA_LIB_PATH}/configure $args || exit 1
|
|
cd -
|
|
cat <<!EOF
|
|
!EOF
|