Annotation of /branches/R11-unstable/extras/alsa-tools/alsa-tools-1.0.29-r1.smage2
Parent Directory | Revision Log
Revision 24700 -
(hide annotations)
(download)
Fri Mar 13 13:10:53 2015 UTC (9 years, 6 months ago) by niro
Original Path: trunk/extras/alsa-tools/alsa-tools-1.0.29-r1.smage2
File size: 1815 byte(s)
Fri Mar 13 13:10:53 2015 UTC (9 years, 6 months ago) by niro
Original Path: trunk/extras/alsa-tools/alsa-tools-1.0.29-r1.smage2
File size: 1815 byte(s)
auto added: ver bump to 1.0.29-r1
1 | niro | 24700 | # $Id$ |
2 | |||
3 | PNAME="alsa-tools" | ||
4 | PVER="1.0.29" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCAT="media-sound" | ||
8 | LICENSE="gpl-2" | ||
9 | |||
10 | DESCRIPTION="Advanced Linux Sound Architecture OSS Layer Tools." | ||
11 | HOMEPAGE="http://www.alsa-project.org/" | ||
12 | |||
13 | DEPEND=">= media-libs/alsa-lib-${PVER} | ||
14 | >= x11-libs/gtk2+-2.24 | ||
15 | >= sys-libs/libstdc++-4.8" | ||
16 | |||
17 | SRCFILE="${PNAME}-${PVER/_/}.tar.bz2" | ||
18 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/}" | ||
19 | |||
20 | # checks not working | ||
21 | msetfeature "!check" | ||
22 | sminclude mbuild | ||
23 | |||
24 | SRC_URI=( | ||
25 | http://dl.ambiweb.de/mirrors/ftp.alsa-project.org/tools/${SRCFILE} | ||
26 | ftp://ftp.alsa-project.org/pub/tools/${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 | |||
37 | local i | ||
38 | for i in $(find ${SRCDIR} -type f -name configure) | ||
39 | do | ||
40 | # exclude qlo10k1; needs qt and qt-checks are broken | ||
41 | [[ $(basename $(dirname ${i})) = qlo10k1 ]] && continue | ||
42 | # exclude hdspmixer; needs fltk | ||
43 | [[ $(basename $(dirname ${i})) = hdspmixer ]] && continue | ||
44 | # exclude hdspconf; needs fltk too | ||
45 | [[ $(basename $(dirname ${i})) = hdspconf ]] && continue | ||
46 | |||
47 | echo | ||
48 | echo "Compiling $(dirname ${i}) ..." | ||
49 | echo | ||
50 | |||
51 | cd $(dirname ${i}) | ||
52 | mconfigure --with-gtk2 || die | ||
53 | mmake || die | ||
54 | done | ||
55 | } | ||
56 | |||
57 | src_install() | ||
58 | { | ||
59 | cd ${SRCDIR} | ||
60 | |||
61 | local i | ||
62 | for i in $(find ${SRCDIR} -type f -name configure) | ||
63 | do | ||
64 | # exclude qlo10k1; needs qt and qt-checks are broken | ||
65 | [[ $(basename $(dirname ${i})) = qlo10k1 ]] && continue | ||
66 | # exclude hdspmixer; needs fltk | ||
67 | [[ $(basename $(dirname ${i})) = hdspmixer ]] && continue | ||
68 | # exclude hdspconf; needs fltk too | ||
69 | [[ $(basename $(dirname ${i})) = hdspconf ]] && continue | ||
70 | |||
71 | echo | ||
72 | echo "Installing $(dirname ${i}) ..." | ||
73 | echo | ||
74 | |||
75 | cd $(dirname ${i}) | ||
76 | mmake DESTDIR=${BINDIR} install || die | ||
77 | done | ||
78 | } | ||
79 |