# $Id$ PNAME="alsa-utils" PVER="1.0.27.1" PBUILD="r1" PCATEGORIE="media-sound" DESCRIPTION="Advanced Linux Sound Architecture Utilities." HOMEPAGE="http://www.alsa-project.org/" DEPEND=">= sys-libs/ncurses-5.9 >= media-libs/alsa-lib-${PVER%.*} >= dev-util/dialog-1.1 >= virtual/pciutils" SDEPEND=">= app-text/xmlto-0.0.23" SRCFILE="${PNAME}-${PVER/_/}.tar.bz2" SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/}" sminclude mbuild mtools SRC_URI=( http://dl.ambiweb.de/mirrors/ftp.alsa-project.org/utils/${SRCFILE} ftp://ftp.alsa-project.org/pub/utils/${SRCFILE} http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/distfiles/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd 'http://alsa.cybermirror.org/${PNAME/alsa-/}/?C=M;O=A' | lasttarball" src_compile() { cd ${SRCDIR} local myconf myconf="--disable-alsaconf --disable-alsaloop" mconfigure --with-udev-rules-dir=/usr/lib/udev/rules.d ${myconf} || die mmake || die } postinstall() { echo echo "WARNING!!! The mixer channels for the ALSA driver are muted by default!!!" echo "Please use 'alsamixer' to unmute them ..." echo }