Magellan Linux

Contents of /branches/R11-unstable/extras/alsa-oss/alsa-oss-1.0.28-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


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