Magellan Linux

Contents of /branches/magellan-next/core/alsa-oss/alsa-oss-1.0.17-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7643 - (show annotations) (download)
Sun May 29 18:22:37 2011 UTC (12 years, 11 months ago) by niro
File size: 999 byte(s)
auto added: ver bump to 1.0.17-r4
1 # $Id$
2
3 PNAME="alsa-oss"
4 PVER="1.0.17"
5 PBUILD="r4"
6
7 PCATEGORIE="media-libs"
8 STATE="unstable"
9
10 LICENSE="gpl-2"
11
12 DESCRIPTION="Advanced Linux Sound Architecture OSS Layer Libraries."
13 HOMEPAGE="http://www.alsa-project.org/"
14
15 DEPEND_x86_64=">= sys-apps/multiarch-wrapper-1"
16 SPECIAL_VARS="DEPEND_x86_64"
17
18 DEPEND="\$(eval echo \\\$DEPEND_\${ARCH/i*86/x86} | tr ';' '\n')
19 >= media-libs/alsa-lib-${PVER}"
20
21 SRCFILE="${PNAME}-${PVER/_/}.tar.bz2"
22 SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/}"
23
24 sminclude mbuild mtools multilib
25
26 SRC_URI=(
27 ftp://ftp.alsa-project.org/pub/oss-lib/${SRCFILE}
28 mirror://${PNAME}/${SRCFILE}
29 )
30
31 UP2DATE="updatecmd 'http://alsa.cybermirror.org/oss-lib/?C=M;O=A' | lasttarball"
32
33 src_install()
34 {
35 multilib_src_install || die
36
37 # install a bit32 binary as well
38 only-m32 minstallexec alsa/aoss /usr/bin/aoss-m32 || die
39
40 # install a 64 bit binary and symlink multiarch-wrapper
41 only-m64 minstallexec alsa/aoss /usr/bin/aoss-m64 || die
42 only-m64 mlink multiarch-wrapper /usr/bin/aoss || die
43 }