
#
# generated by mkskel 0.0.2r28
#

VERSION="0.9.2"
ARCH="i386"
RELEASE="1"

# --------- |-----handy-ruler------------------------------------------------------|
DESCRIPTION="alsa-lib\n
             \n
             Advanced Linux Sound Architecture (ALSA) - Library"
# --------- |-----handy-ruler------------------------------------------------------|

PREFIX="/usr"
SYSCONFDIR="/etc"

SOURCE_DIRECTORY="alsa-lib-${VERSION}"

PACKAGE_NAME="alsa-lib-${VERSION}-${ARCH}-${RELEASE}"

INSTALL_MODE="jail"

DOWNLOAD () { return 0; }

EXTRACT ()
{
  do_extract "alsa-lib-0.9.2.tar.bz2"
}

CONFIGURE ()
{
  ./configure --prefix=${PREFIX} \
              --sysconfdir=${SYSCONFDIR} \
              --enable-static \
              --enable-shared
}

BUILD ()
{
  make
}
         
POST_BUILD ()
{
  cat < /dev/null > ./depcomp
}

INSTALL ()
{
  make -e DESTDIR=${DESTDIR} install
}
