/[gentoo-x86]/media-libs/libmpd/libmpd-11.8.17.ebuild
Gentoo

Contents of /media-libs/libmpd/libmpd-11.8.17.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Sun Sep 25 20:15:13 2011 UTC (6 years, 9 months ago) by chainsaw
Branch: MAIN
Changes since 1.2: +2 -2 lines
Marked stable on AMD64 based on arch testing by Agostino "ago" Sarubbo & Elijah "Armageddon" El Lazkani in bug #381219.

(Portage version: 2.1.10.18/cvs/Linux x86_64)

1 angelos 1.1 # Copyright 1999-2011 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 chainsaw 1.3 # $Header: /var/cvsroot/gentoo-x86/media-libs/libmpd/libmpd-11.8.17.ebuild,v 1.2 2011/08/20 11:22:32 angelos Exp $
4 angelos 1.1
5     EAPI=4
6    
7     DESCRIPTION="A library handling connections to a MPD server"
8     HOMEPAGE="http://gmpc.wikia.com/wiki/Libmpd"
9     SRC_URI="http://download.sarine.nl/Programs/gmpc/11.8/${P}.tar.gz"
10    
11     LICENSE="GPL-2"
12     SLOT="0"
13 chainsaw 1.3 KEYWORDS="amd64 ~ppc ~ppc64 ~x86 ~x86-interix ~amd64-linux ~x86-linux"
14 angelos 1.1 IUSE="doc static-libs"
15    
16     RDEPEND=">=dev-libs/glib-2.16:2"
17     DEPEND="${RDEPEND}
18     dev-util/pkgconfig
19     doc? ( app-doc/doxygen )"
20    
21     src_configure() {
22     econf \
23     $(use_enable static-libs static) \
24     --docdir="${EPREFIX}"/usr/share/doc/${PF}
25     }
26    
27     src_compile() {
28     emake
29     use doc && emake -C doc doc
30     }
31    
32     src_install() {
33     default
34     use doc && dohtml -r doc/html/*
35     find "${ED}" -name "*.la" -exec rm -rf {} + || die
36     rm "${ED}"/usr/share/doc/${PF}/{README,ChangeLog} || die
37     }

  ViewVC Help
Powered by ViewVC 1.1.20