Magellan Linux

Contents of /trunk/core/alsa-oss/alsa-oss-1.0.17-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


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