. "$GRIMOIRE/FUNCTIONS"
           SPELL=alsa-lib
if [[ $ALSA_LIB_BRANCH == scm ]]; then
         VERSION=$(get_scm_version)
          SOURCE=$SPELL-git.tar.bz2
   SOURCE_URL[0]=git://git.alsa-project.org/alsa-lib.git:alsa-lib-git
   SOURCE_IGNORE=volatile
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-git"
  FORCE_DOWNLOAD=1
else
         VERSION=1.2.15
     SOURCE_HASH=sha512:6cea9059265ef353a07f1b442004506f0f13883692ea35f03090282ca80db88055f470d2dca5bb54394fef0012711f0e9502d2d0f7fb66b27aa334bffb811559
          SOURCE=$SPELL-$VERSION.tar.bz2
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
   SOURCE_URL[0]=ftp://ftp.alsa-project.org/pub/lib/$SOURCE
# Watch: https://www.alsa-project.org/files/pub/lib/
fi
      LICENSE[0]=LGPL
        KEYWORDS="drivers audio"
        WEB_SITE=http://www.alsa-project.org/
         ENTERED=20010922
           SHORT="library API for using the Advanced Linux Sound Architecture"
cat << EOF
The Advanced Linux Sound Architecture project is being developed in the Linux
operating system and is released under version 2 of the GPL (GNU general public
license) and the LGPL (GNU library general public license).
Primary goals:
1. Create a fully modularized sound driver which supports kerneld and kmod.
2. Create the ALSA Kernel API which surpasses the current OSS API.
3. Maintain compatibility with most OSS/Lite binaries.
4. Create the ALSA Library (C, C++), which simplifies ALSA application
development.
5. Create the ALSA Manager, an interactive configuration program for the
driver.

This spell provides the alsa init script.
EOF
