blob: 492771c8b2a893b8005d8d00a007cd3adf7a4cdd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils toolchain-funcs multilib
DESCRIPTION="Provides easy access to ALSA PCM devices"
HOMEPAGE="http://kokkinizita.linuxaudio.org/linuxaudio/"
SRC_URI="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="media-libs/alsa-lib"
RDEPEND="${DEPEND}"
src_prepare() {
epatch "${FILESDIR}/makefile.patch"
}
src_compile() {
tc-export CC CXX
cd "${S}/libs"
emake PREFIX="${EPREFIX}/usr" LIBDIR="$(get_libdir)"
ln -s libzita-alsa-pcmi.so.0.2.0 libzita-alsa-pcmi.so
cd "${S}/apps"
emake PREFIX="${EPREFIX}/usr" LIBDIR="$(get_libdir)"
}
src_install() {
cd "${S}/libs"
emake PREFIX="${EPREFIX}/usr" LIBDIR="$(get_libdir)" DESTDIR="${D}" install
cd "${S}/apps"
emake PREFIX="${EPREFIX}/usr" LIBDIR="$(get_libdir)" DESTDIR="${D}" install
cd "${S}"
dodoc AUTHORS README
}
|