Magellan Linux

Contents of /smage/branches/alx07x-stable/extras/alsa-utils/alsa-utils-1.0.29-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7878 - (show annotations) (download)
Wed Nov 18 10:22:19 2015 UTC (8 years, 6 months ago) by niro
File size: 1221 byte(s)
-release alx07x-stable
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 >= virtual/pciutils
17 >= media-libs/libsamplerate-0.1.8"
18
19 ALX_DEV_DEPEND=">= sys-libs/ncurses-dev-5.9
20 >= media-libs/alsa-lib-dev-${PVER%.*}"
21
22 SDEPEND=">= app-text/xmlto-0.0.23
23 >= app-text/docbook-xml-dtd42-4.2
24 ${ALX_DEV_DEPEND}"
25
26 SRCFILE="${PNAME}-${PVER/_/}.tar.bz2"
27 SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/}"
28
29 sminclude mbuild mtools
30
31 SRC_URI=(
32 http://dl.ambiweb.de/mirrors/ftp.alsa-project.org/utils/${SRCFILE}
33 ftp://ftp.alsa-project.org/pub/utils/${SRCFILE}
34 http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/distfiles/${SRCFILE}
35 mirror://${PNAME}/${SRCFILE}
36 )
37
38 UP2DATE="updatecmd 'http://alsa.cybermirror.org/${PNAME/alsa-/}/?C=M;O=A' | lasttarball"
39
40 src_compile()
41 {
42 cd ${SRCDIR}
43 mconfigure --with-udev-rules-dir=/usr/lib/udev/rules.d || die
44 mmake || die
45 }
46
47 postinstall()
48 {
49 echo
50 echo "WARNING!!! The mixer channels for the ALSA driver are muted by default!!!"
51 echo "Please use 'alsamixer' to unmute them ..."
52 echo
53 }