Contents of /trunk/core/alsa-tools/alsa-tools-1.0.24.1-r3.smage2
Parent Directory | Revision Log
Revision 10275 -
(show annotations)
(download)
Fri Jan 20 14:38:49 2012 UTC (12 years, 8 months ago) by niro
File size: 1737 byte(s)
Fri Jan 20 14:38:49 2012 UTC (12 years, 8 months ago) by niro
File size: 1737 byte(s)
-import from magellan-next
1 | # $Id$ |
2 | |
3 | PNAME="alsa-tools" |
4 | PVER="1.0.24.1" |
5 | PBUILD="r3" |
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.6" |
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 | mirror://${PNAME}/${SRCFILE} |
28 | ) |
29 | |
30 | UP2DATE="updatecmd 'http://alsa.cybermirror.org/${PNAME/alsa-/}/?C=M;O=A' | lasttarball" |
31 | |
32 | src_compile() |
33 | { |
34 | cd ${SRCDIR} |
35 | |
36 | local i |
37 | for i in $(find ${SRCDIR} -type f -name configure) |
38 | do |
39 | # exclude qlo10k1; needs qt and qt-checks are broken |
40 | [[ $(basename $(dirname ${i})) = qlo10k1 ]] && continue |
41 | # exclude hdspmixer; needs fltk |
42 | [[ $(basename $(dirname ${i})) = hdspmixer ]] && continue |
43 | # exclude hdspconf; needs fltk too |
44 | [[ $(basename $(dirname ${i})) = hdspconf ]] && continue |
45 | |
46 | echo |
47 | echo "Compiling $(dirname ${i}) ..." |
48 | echo |
49 | |
50 | cd $(dirname ${i}) |
51 | mconfigure --with-gtk2 || die |
52 | mmake || die |
53 | done |
54 | } |
55 | |
56 | src_install() |
57 | { |
58 | cd ${SRCDIR} |
59 | |
60 | local i |
61 | for i in $(find ${SRCDIR} -type f -name configure) |
62 | do |
63 | # exclude qlo10k1; needs qt and qt-checks are broken |
64 | [[ $(basename $(dirname ${i})) = qlo10k1 ]] && continue |
65 | # exclude hdspmixer; needs fltk |
66 | [[ $(basename $(dirname ${i})) = hdspmixer ]] && continue |
67 | # exclude hdspconf; needs fltk too |
68 | [[ $(basename $(dirname ${i})) = hdspconf ]] && continue |
69 | |
70 | echo |
71 | echo "Installing $(dirname ${i}) ..." |
72 | echo |
73 | |
74 | cd $(dirname ${i}) |
75 | mmake DESTDIR=${BINDIR} install || die |
76 | done |
77 | } |
78 |