# Description: An alternative implementation of Linux sound support
# URL: http://www.alsa-project.org
# Packager: pierre at nutyx dot org
# Depends on: doxygen 

name=alsa-lib
version=1.1.0
release=1

source=(ftp://ftp.alsa-project.org/pub/lib/$name-$version.tar.bz2)
build() {
cd $name-$version
./configure
make
make DESTDIR=$PKG install
make doc
install -v -d -m755 $PKG/usr/share/doc/$name-$version/html
cp -a doc/doxygen/html/* $PKG/usr/share/doc/$name-$version/html
chmod 644 $PKG/usr/share/doc/$name-$version/html/*
}
  
