blob: 68755455f5708d735a4f1aa57114b0d768380238 (
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
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpdclient/libmpdclient-2.4.ebuild,v 1.8 2011/03/24 18:17:51 xarthisius Exp $
EAPI=3
DESCRIPTION="A library for interfacing Music Player Daemon (media-sound/mpd)"
HOMEPAGE="http://www.musicpd.org"
SRC_URI="mirror://sourceforge/musicpd/${P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm hppa ppc ppc64 sparc x86"
IUSE="examples static-libs"
src_configure() {
econf \
--docdir="${EPREFIX}"/usr/share/doc/${PF} \
$(use_enable static-libs static)
}
src_install() {
emake install DESTDIR="${D}" || die "emake install failed"
if use examples; then
dodoc src/example.c || die "dodoc failed"
fi
find "${ED}" -name "*.la" -delete || die "failed to delete .la files"
}
|