Contents of /branches/R11-stable/extras/alsa-oss/alsa-oss-1.0.25-r1.smage2
Parent Directory | Revision Log
Revision 15056 -
(show annotations)
(download)
Wed Jan 2 10:37:04 2013 UTC (11 years, 8 months ago) by niro
File size: 975 byte(s)
Wed Jan 2 10:37:04 2013 UTC (11 years, 8 months ago) by niro
File size: 975 byte(s)
-release branches/R11-stable
1 | # $Id$ |
2 | |
3 | PNAME="alsa-oss" |
4 | PVER="1.0.25" |
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="\$(eval echo \\\$DEPEND_\${ARCH/i*86/x86} | tr ';' '\n') |
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 | } |