/[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.1 - (hide annotations) (download)
Sat Aug 20 10:58:39 2011 UTC (6 years, 11 months ago) by angelos
Branch: MAIN
Version bump

(Portage version: 2.2.0_alpha51/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     # $Header: /var/cvsroot/gentoo-x86/media-libs/libmpd/libmpd-9999.ebuild,v 1.1 2011/07/17 16:02:10 angelos Exp $
4    
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     KEYWORDS=""
14     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