Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6581 - (show annotations) (download)
Mon Sep 6 17:31:47 2010 UTC (13 years, 8 months ago) by niro
File size: 1058 byte(s)
-make use of multiarch-wrapper
1 # $Id: alsa-oss-1.0.17-r2.smage2 3402 2009-10-21 15:52:27Z niro $
2
3 PNAME="alsa-oss"
4 PVER="1.0.17"
5 PBUILD="r3"
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 }