Magellan Linux

Contents of /smage/branches/alx-0_6_0/extras/alsa-utils/alsa-utils-1.0.27.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4901 - (show annotations) (download)
Tue May 28 14:01:39 2013 UTC (10 years, 11 months ago) by niro
File size: 1127 byte(s)
-no xmlto provided by alx-0.6
1 # $Id$
2
3 PNAME="alsa-utils"
4 PVER="1.0.27.1"
5 PBUILD="r1"
6
7 PCATEGORIE="media-sound"
8
9 DESCRIPTION="Advanced Linux Sound Architecture Utilities."
10 HOMEPAGE="http://www.alsa-project.org/"
11
12 DEPEND=">= sys-libs/ncurses-5.9
13 >= media-libs/alsa-lib-${PVER%.*}
14 >= dev-util/dialog-1.1
15 >= virtual/pciutils"
16
17 SDEPEND=">= app-text/xmlto-0.0.23"
18
19 SRCFILE="${PNAME}-${PVER/_/}.tar.bz2"
20 SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/}"
21
22 sminclude mbuild mtools
23
24 SRC_URI=(
25 http://dl.ambiweb.de/mirrors/ftp.alsa-project.org/utils/${SRCFILE}
26 ftp://ftp.alsa-project.org/pub/utils/${SRCFILE}
27 http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/distfiles/${SRCFILE}
28 mirror://${PNAME}/${SRCFILE}
29 )
30
31 UP2DATE="updatecmd 'http://alsa.cybermirror.org/${PNAME/alsa-/}/?C=M;O=A' | lasttarball"
32
33 src_compile()
34 {
35 cd ${SRCDIR}
36 local myconf
37 myconf="--disable-alsaconf --disable-alsaloop --disable-xmlto"
38 mconfigure --with-udev-rules-dir=/usr/lib/udev/rules.d ${myconf} || die
39 mmake || die
40 }
41
42 postinstall()
43 {
44 echo
45 echo "WARNING!!! The mixer channels for the ALSA driver are muted by default!!!"
46 echo "Please use 'alsamixer' to unmute them ..."
47 echo
48 }