. "$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.3
     SOURCE_HASH=sha512:7fc0fa8a5ae02d3404d2c262c6a14fcbb8b08e25993eac86b9e89b8419ed4d293b422da77b3eb7a1930f26c316b638e5aa7bdba78b0ada9908b0362d132a0cc0
          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
