Magellan Linux

Contents of /trunk/core/alsa-tools/alsa-tools-1.0.19-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1274 - (show annotations) (download)
Mon Apr 27 14:50:09 2009 UTC (15 years ago) by niro
File size: 1684 byte(s)
auto added: ver bump to 1.0.19-r1
1 # $Id$
2
3 PNAME="alsa-tools"
4 PVER="1.0.19"
5 PBUILD="r1"
6
7 PCATEGORIE="media-sound"
8 STATE="unstable"
9
10 LICENSE="gpl-2"
11
12 DESCRIPTION="Advanced Linux Sound Architecture OSS Layer Tools."
13 HOMEPAGE="http://www.alsa-project.org/"
14
15 DEPEND=">= media-libs/alsa-lib-${PVER}
16 >= x11-libs/gtk2+-2.16"
17
18 SRCFILE="${PNAME}-${PVER/_/}.tar.bz2"
19 SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/}"
20
21 sminclude mbuild
22
23 SRC_URI=(
24 http://dl.ambiweb.de/mirrors/ftp.alsa-project.org/tools/${SRCFILE}
25 ftp://ftp.alsa-project.org/pub/tools/${SRCFILE}
26 mirror://${PNAME}/${SRCFILE}
27 )
28
29 UP2DATE="updatecmd http://alsa.cybermirror.org/${PNAME/alsa-/}/?M=A | lasttarball"
30
31 src_compile()
32 {
33 cd ${SRCDIR}
34
35 local i
36 for i in $(find ${SRCDIR} -type f -name configure)
37 do
38 # exclude qlo10k1; needs qt and qt-checks are broken
39 [[ $(basename $(dirname ${i})) = qlo10k1 ]] && continue
40 # exclude hdspmixer; needs fltk
41 [[ $(basename $(dirname ${i})) = hdspmixer ]] && continue
42 # exclude hdspconf; needs fltk too
43 [[ $(basename $(dirname ${i})) = hdspconf ]] && continue
44
45 echo
46 echo "Compiling $(dirname ${i}) ..."
47 echo
48
49 cd $(dirname ${i})
50 mconfigure --with-gtk2 || die
51 mmake || die
52 done
53 }
54
55 src_install()
56 {
57 cd ${SRCDIR}
58
59 local i
60 for i in $(find ${SRCDIR} -type f -name configure)
61 do
62 # exclude qlo10k1; needs qt and qt-checks are broken
63 [[ $(basename $(dirname ${i})) = qlo10k1 ]] && continue
64 # exclude hdspmixer; needs fltk
65 [[ $(basename $(dirname ${i})) = hdspmixer ]] && continue
66 # exclude hdspconf; needs fltk too
67 [[ $(basename $(dirname ${i})) = hdspconf ]] && continue
68
69 echo
70 echo "Installing $(dirname ${i}) ..."
71 echo
72
73 cd $(dirname ${i})
74 mmake DESTDIR=${BINDIR} install || die
75 done
76 }
77

Properties

Name Value
svn:keywords Id