• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/bash
2# Allen Riemann
3set -e
4
5ALSA_LIB_PATH=$1
6modules=
7alisp=
8prefix=
9libdir="/lib"
10configdir="/etc/audio/alsa/share"
11args="--disable-aload --prefix=$prefix --libdir=$libdir --with-configdir=$configdir"
12
13export LC_ALL=C
14cd ${ALSA_LIB_PATH}
15touch ltconfig
16libtoolize --force --copy --automake
17aclocal $ACLOCAL_FLAGS
18autoheader
19automake --foreign --copy --add-missing
20touch depcomp		# seems to be missing for old automake
21autoconf
22echo "./configure $args"
23${ALSA_LIB_PATH}/configure $args || exit 1
24cd -
25cat <<!EOF
26!EOF
27