UmVirt LFS Package info

DB commit: 34a83c7a68a930f721bd7a7f9cb2c2ac41e76ba8
APP commit: 0bd167a48557b5a14ac68d0229893245aacc7f12
[ BASH | XML | JSON ]

alsa-tools

The ALSA Tools package contains advanced tools for certain sound cards.

Package info

Template:
Codename: alsa-tools
Source file: alsa-tools-1.2.14.tar.bz2
Source directory: alsa-tools-1.2.14
Package URL: alsa-tools-1.2.14.tar.bz2
Package md5-checksum URL: alsa-tools-1.2.14.tar.bz2.md5sum
Dependances: alsa-lib.
Dependance of: alsa-firmware, ALSA.
Patches: *** NO PATCHES FOUND ***
Addons: *** NO ADDONS FOUND ***
Nestings *** NO NESTINGS FOUND ***
Configuration script:
rm -rf qlo10k1 echomixer envy24control rmedigicontrol Makefile gitcompile

for tool in *
do
  case $tool in
    seq )
      tool_dir=seq/sbiload
    ;;
    * )
      tool_dir=$tool
    ;;
  esac

  pushd $tool_dir
    ./configure --prefix=/usr --sysconfdir=/etc
  popd

done
unset tool tool_dir

Build script:
for tool in *
do
  case $tool in
    seq )
      tool_dir=seq/sbiload
    ;;
    * )
      tool_dir=$tool
    ;;
  esac

  pushd $tool_dir
    make
  popd

done
unset tool tool_dir

Install script:
as_root()
{
  if   [ $EUID = 0 ];        then $*
  elif [ -x /usr/bin/sudo ]; then sudo $*
  else                            su -c \\"$*\\"
  fi
}

export -f as_root

for tool in *
do
  case $tool in
    seq )
      tool_dir=seq/sbiload
    ;;
    * )
      tool_dir=$tool
    ;;
  esac

  pushd $tool_dir
    as_root make install
    as_root /sbin/ldconfig
  popd

done
unset tool tool_dir