Magellan Linux

Contents of /branches/R11-unstable/extras/alsa-utils/alsa-utils-1.0.29-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 25107 - (show annotations) (download)
Tue Nov 25 03:03:20 2014 UTC (9 years, 5 months ago) by niro
File size: 1122 byte(s)
-release branches/R11-unstable
1 # $Id$
2
3 PNAME="alsa-utils"
4 PVER="1.0.29"
5 PBUILD="r1"
6
7 PCAT="media-sound"
8 LICENSE="gpl-2"
9
10 DESCRIPTION="Advanced Linux Sound Architecture Utilities."
11 HOMEPAGE="http://www.alsa-project.org/"
12
13 DEPEND=">= sys-libs/ncurses-5.9
14 >= media-libs/alsa-lib-${PVER%.*}
15 >= dev-util/dialog-1.1
16 >= sys-apps/pciutils-3.1
17 >= media-libs/libsamplerate-0.1.8"
18
19 SDEPEND=">= app-text/xmlto-0.0.23
20 >= app-text/docbook-xml-dtd42-4.2"
21
22 SRCFILE="${PNAME}-${PVER/_/}.tar.bz2"
23 SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/}"
24
25 sminclude mbuild mtools
26
27 SRC_URI=(
28 http://dl.ambiweb.de/mirrors/ftp.alsa-project.org/utils/${SRCFILE}
29 ftp://ftp.alsa-project.org/pub/utils/${SRCFILE}
30 http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/distfiles/${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 }