Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 980 - (show annotations) (download)
Sun Dec 28 23:33:31 2008 UTC (15 years, 4 months ago) by niro
File size: 1716 byte(s)
-ver bump to 1.0.18-r1
1 # $Header: /magellan-cvs/smage/alsa-tools/alsa-tools-1.0.16-r1.smage2,v 1.1 2008/02/13 18:58:14 niro Exp $
2
3 PNAME="alsa-tools"
4 PVER="1.0.18"
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.14"
17
18 SRCFILE="${PNAME}-${PVER/_/}.tar.bz2"
19 SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/}"
20
21 sminclude mbuild
22
23 SRC_URI=(
24 ftp://ftp.alsa-project.org/pub/tools/${SRCFILE}
25 mirror://${PNAME}/${SRCFILE}
26 )
27
28 UP2DATE="updatecmd http://alsa.cybermirror.org/${PNAME/alsa-/}/?M=A | lasttarball"
29
30 src_compile()
31 {
32 cd ${SRCDIR}
33
34 local i
35 for i in $(find ${SRCDIR} -type f -name configure)
36 do
37 # exclude qlo10k1; needs qt and qt-checks are broken
38 [[ $(basename $(dirname ${i})) = qlo10k1 ]] && continue
39 # exclude hdspmixer; needs fltk
40 [[ $(basename $(dirname ${i})) = hdspmixer ]] && continue
41 # exclude hdspconf; needs fltk too
42 [[ $(basename $(dirname ${i})) = hdspconf ]] && continue
43
44 echo
45 echo "Compiling $(dirname ${i}) ..."
46 echo
47
48 cd $(dirname ${i})
49 mconfigure --with-gtk2 || die
50 mmake || die
51 done
52 }
53
54 src_install()
55 {
56 cd ${SRCDIR}
57
58 local i
59 for i in $(find ${SRCDIR} -type f -name configure)
60 do
61 # exclude qlo10k1; needs qt and qt-checks are broken
62 [[ $(basename $(dirname ${i})) = qlo10k1 ]] && continue
63 # exclude hdspmixer; needs fltk
64 [[ $(basename $(dirname ${i})) = hdspmixer ]] && continue
65 # exclude hdspconf; needs fltk too
66 [[ $(basename $(dirname ${i})) = hdspconf ]] && continue
67
68 echo
69 echo "Installing $(dirname ${i}) ..."
70 echo
71
72 cd $(dirname ${i})
73 mmake DESTDIR=${BINDIR} install || die
74 done
75 }
76

Properties

Name Value
svn:keywords Id