Contents of /smage/branches/alx-0_6_0/extras/alsa-utils/alsa-utils-1.0.27.1-r1.smage2
Parent Directory | Revision Log
Revision 4902 -
(show annotations)
(download)
Tue May 28 14:03:58 2013 UTC (10 years, 11 months ago) by niro
File size: 1023 byte(s)
Tue May 28 14:03:58 2013 UTC (10 years, 11 months ago) by niro
File size: 1023 byte(s)
-alxify, only keep aplay and alsamixer - no postinstall warnings
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 | ALX_ONLY_KEEP="usr/bin/aplay |
23 | usr/bin/alsamixer" |
24 | sminclude mbuild mtools alx-split |
25 | |
26 | SRC_URI=( |
27 | http://dl.ambiweb.de/mirrors/ftp.alsa-project.org/utils/${SRCFILE} |
28 | ftp://ftp.alsa-project.org/pub/utils/${SRCFILE} |
29 | http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/distfiles/${SRCFILE} |
30 | mirror://${PNAME}/${SRCFILE} |
31 | ) |
32 | |
33 | UP2DATE="updatecmd 'http://alsa.cybermirror.org/${PNAME/alsa-/}/?C=M;O=A' | lasttarball" |
34 | |
35 | src_compile() |
36 | { |
37 | cd ${SRCDIR} |
38 | local myconf |
39 | myconf="--disable-alsaconf --disable-alsaloop --disable-xmlto" |
40 | mconfigure --with-udev-rules-dir=/usr/lib/udev/rules.d ${myconf} || die |
41 | mmake || die |
42 | } |