blob: d90b80dbf48bc056e59b296646404a9780bb0ef1 (
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
42
43
44
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/liblastfm/liblastfm-0.3.0.ebuild,v 1.8 2010/02/25 20:28:50 wired Exp $
EAPI="2"
inherit multilib
DESCRIPTION="Collection of libraries to integrate Last.fm services"
HOMEPAGE="http://github.com/mxcl/liblastfm/"
SRC_URI="http://cdn.last.fm/src/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
IUSE=""
COMMON_DEPEND="
>=media-libs/libsamplerate-0.1.4
sci-libs/fftw:3.0
>=x11-libs/qt-core-4.5:4
>=x11-libs/qt-test-4.5:4
!<media-libs/lastfmlib-0.4.0
"
# Unrestrict Ruby depend for next release!
DEPEND="${COMMON_DEPEND}
=dev-lang/ruby-1.8*
"
RDEPEND="${COMMON_DEPEND}"
src_prepare() {
# Fix multilib paths
find . -name *.pro -exec sed -i -e "/target.path/s/lib/$(get_libdir)/g" {} + \
|| die "failed to fix multilib paths"
}
src_configure() {
./configure --prefix "${ROOT}usr" --no-strip --release || die "configure failed"
}
src_install() {
emake DESTDIR="${D}${ROOT}" install || die "emake install failed"
dodoc README || die "dodoc failed"
}
|