/[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.4 - (hide annotations) (download)
Sun Oct 9 16:47:50 2011 UTC (6 years, 6 months ago) by maekke
Branch: MAIN
Changes since 1.3: +2 -2 lines
x86 stable, bug #381219

(Portage version: 2.1.10.23/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 maekke 1.4 # $Header: /var/cvsroot/gentoo-x86/media-libs/libmpd/libmpd-11.8.17.ebuild,v 1.3 2011/09/25 20:15:13 chainsaw 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 maekke 1.4 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