blob: e18afa3e28388d6a412cc8790cd03ee15a656a23 (
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
# $Header: /var/cvsroot/gentoo-x86/media-libs/zita-alsa-pcmi/zita-alsa-pcmi-0.2.0.ebuild,v 1.1 2015/03/18 10:49:10 aballier Exp $
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"
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
}
|