diff options
author | Christoph Mende <angelos@gentoo.org> | 2011-10-29 07:44:57 +0000 |
---|---|---|
committer | Christoph Mende <angelos@gentoo.org> | 2011-10-29 07:44:57 +0000 |
commit | 405f1f8d9d892287de4f3fa9acfdaa353c0731ae (patch) | |
tree | 454b1d8433028b6f270291123984eaf9d2cb1f33 /media-libs/libmpdclient/libmpdclient-2.6.ebuild | |
parent | Bump to 3.2.1 from the gnome overlay. Drop arm keyword (needs app-admin/apg a... (diff) | |
download | historical-405f1f8d9d892287de4f3fa9acfdaa353c0731ae.tar.gz historical-405f1f8d9d892287de4f3fa9acfdaa353c0731ae.tar.bz2 historical-405f1f8d9d892287de4f3fa9acfdaa353c0731ae.zip |
Version bump
Package-Manager: portage-2.1.10.31/cvs/Linux x86_64
Diffstat (limited to 'media-libs/libmpdclient/libmpdclient-2.6.ebuild')
-rw-r--r-- | media-libs/libmpdclient/libmpdclient-2.6.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/media-libs/libmpdclient/libmpdclient-2.6.ebuild b/media-libs/libmpdclient/libmpdclient-2.6.ebuild new file mode 100644 index 000000000000..ffdbc58946c5 --- /dev/null +++ b/media-libs/libmpdclient/libmpdclient-2.6.ebuild @@ -0,0 +1,34 @@ +# 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.6.ebuild,v 1.1 2011/10/29 07:44:57 angelos Exp $ + +EAPI=4 + +DESCRIPTION="A library for interfacing Music Player Daemon (media-sound/mpd)" +HOMEPAGE="http://www.musicpd.org" +SRC_URI="mirror://sourceforge/musicpd/${PN}/${PV}/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc examples static-libs" + +RDEPEND="" +DEPEND="doc? ( app-doc/doxygen )" + +src_prepare() { + sed -e "s:@top_srcdir@:.:" -i doc/doxygen.conf.in +} + +src_configure() { + econf \ + --docdir="${EPREFIX}"/usr/share/doc/${PF} \ + $(use_enable static-libs static) +} + +src_install() { + default + use examples && dodoc src/example.c + use doc || rm -rf "${ED}"/usr/share/doc/${PF}/html + find "${ED}" -name "*.la" -exec rm -rf {} + || die "failed to delete .la files" +} |