Magellan Linux

Contents of /trunk/extras/alsa-tools/alsa-tools-1.0.16-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 8 months ago) by niro
File size: 1632 byte(s)
import repo
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.16"
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.12"
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 src_compile()
29 {
30 cd ${SRCDIR}
31
32 local i
33 for i in $(find ${SRCDIR} -type f -name configure)
34 do
35 # exclude qlo10k1; needs qt and qt-checks are broken
36 [[ $(basename $(dirname ${i})) = qlo10k1 ]] && continue
37 # exclude hdspmixer; needs fltk
38 [[ $(basename $(dirname ${i})) = hdspmixer ]] && continue
39 # exclude hdspconf; needs fltk too
40 [[ $(basename $(dirname ${i})) = hdspconf ]] && continue
41
42 echo
43 echo "Compiling $(dirname ${i}) ..."
44 echo
45
46 cd $(dirname ${i})
47 mconfigure --with-gtk2 || die
48 mmake || die
49 done
50 }
51
52 src_install()
53 {
54 cd ${SRCDIR}
55
56 local i
57 for i in $(find ${SRCDIR} -type f -name configure)
58 do
59 # exclude qlo10k1; needs qt and qt-checks are broken
60 [[ $(basename $(dirname ${i})) = qlo10k1 ]] && continue
61 # exclude hdspmixer; needs fltk
62 [[ $(basename $(dirname ${i})) = hdspmixer ]] && continue
63 # exclude hdspconf; needs fltk too
64 [[ $(basename $(dirname ${i})) = hdspconf ]] && continue
65
66 echo
67 echo "Installing $(dirname ${i}) ..."
68 echo
69
70 cd $(dirname ${i})
71 mmake DESTDIR=${BINDIR} install || die
72 done
73 }
74

Properties

Name Value
svn:keywords Id