/[gentoo-x86]/media-libs/alsa-lib/alsa-lib-0.9.0_rc2.ebuild
Gentoo

Contents of /media-libs/alsa-lib/alsa-lib-0.9.0_rc2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.17 - (show annotations) (download)
Sun Oct 3 00:19:01 2004 UTC (9 years, 9 months ago) by eradicator
Branch: MAIN
CVS Tags: HEAD
Changes since 1.16: +1 -1 lines
FILE REMOVED
Removing old versions.

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/alsa-lib-0.9.0_rc2.ebuild,v 1.16 2004/07/14 18:48:54 agriffis Exp $
4
5 MY_P=${P/_rc/rc}
6 S=${WORKDIR}/${MY_P}
7 DESCRIPTION="Advanced Linux Sound Architecture Library"
8 HOMEPAGE="http://www.alsa-project.org/"
9
10 SRC_URI="ftp://ftp.alsa-project.org/pub/lib/${MY_P}.tar.bz2"
11
12 DEPEND="~media-sound/alsa-driver-0.9.0_rc2"
13
14 SLOT="0"
15 LICENSE="GPL-2 LGPL-2.1"
16 KEYWORDS="x86 ppc -sparc "
17 IUSE=""
18
19 src_compile() {
20 ./configure \
21 --host=${CHOST} \
22 --prefix=/usr \
23 || die "./configure failed"
24 make || die "Parallel Make Failed"
25 }
26
27 src_install() {
28 make DESTDIR=${D} install || die "Installation Failed"
29
30 #This alsa version does not provide libasound.so.1
31 #Without this library just about everything even remotely
32 #linked to previous versions of alsa-lib will break.
33 #Fortunately, libasound.so.2 seems to be backwards
34 #compatible with libasound.so.2 and a simple link
35 #fixes the problem (fingers crossed)
36 dosym /usr/lib/libasound.so.2 /usr/lib/libasound.so.1
37
38 dodoc ChangeLog COPYING TODO
39 }

  ViewVC Help
Powered by ViewVC 1.1.20