Magellan Linux

Contents of /trunk/extras/alsa-utils/alsa-utils-1.0.25-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 12753 - (show annotations) (download)
Mon Jul 2 14:37:15 2012 UTC (11 years, 10 months ago) by niro
File size: 1025 byte(s)
-marked unstable
1 # $Id$
2
3 PNAME="alsa-utils"
4 PVER="1.0.25"
5 PBUILD="r2"
6
7 PCAT="media-sound"
8 STATE="unstable"
9
10 LICENSE="gpl-2"
11
12 DESCRIPTION="Advanced Linux Sound Architecture Utilities."
13 HOMEPAGE="http://www.alsa-project.org/"
14
15 DEPEND=">= sys-libs/ncurses-5.9
16 >= media-libs/alsa-lib-${PVER%.*}
17 >= dev-util/dialog-1.1
18 >= sys-apps/pciutils-3.1
19 >= media-libs/libsamplerate-0.1.8"
20
21 SDEPEND=">= app-text/xmlto-0.0.23"
22
23 SRCFILE="${PNAME}-${PVER/_/}.tar.bz2"
24 SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/}"
25
26 sminclude mbuild mtools
27
28 SRC_URI=(
29 http://dl.ambiweb.de/mirrors/ftp.alsa-project.org/utils/${SRCFILE}
30 ftp://ftp.alsa-project.org/pub/utils/${SRCFILE}
31 mirror://${PNAME}/${SRCFILE}
32 )
33
34 UP2DATE="updatecmd 'http://alsa.cybermirror.org/${PNAME/alsa-/}/?C=M;O=A' | lasttarball"
35
36 src_compile()
37 {
38 cd ${SRCDIR}
39 mconfigure --with-udev-rules-dir=/usr/lib/udev/rules.d || die
40 mmake || die
41 }
42
43 postinstall()
44 {
45 echo
46 echo "WARNING!!! The mixer channels for the ALSA driver are muted by default!!!"
47 echo "Please use 'alsamixer' to unmute them ..."
48 echo
49 }