Magellan Linux

Annotation of /trunk/extras/alsa-oss/alsa-oss-1.0.28-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 28884 - (hide annotations) (download)
Wed May 10 06:27:20 2017 UTC (7 years ago) by niro
File size: 928 byte(s)
auto added: ver bump to 1.0.28-r2
1 niro 28884 # $Id$
2    
3     PNAME="alsa-oss"
4     PVER="1.0.28"
5     PBUILD="r2"
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 ftp://ftp.alsa-project.org/pub/oss-lib | highesttarball"
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     }