Magellan Linux

Contents of /trunk/extras/alsa-oss/alsa-oss-1.1.6-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30839 - (show annotations) (download)
Wed Apr 25 07:01:46 2018 UTC (6 years ago) by niro
File size: 934 byte(s)
auto added: ver bump to 1.1.6-r1
1 # $Id$
2
3 PNAME="alsa-oss"
4 PVER="1.1.6"
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 mtools multilib mbuild
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 mbuild_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 }