/[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.6 - (show annotations) (download)
Sat May 5 08:02:30 2012 UTC (2 years, 7 months ago) by jdhore
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +2 -2 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-libs/libmpd/libmpd-11.8.17.ebuild,v 1.5 2012/03/07 18:57:19 ranger 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="amd64 ppc ~ppc64 x86 ~x86-interix ~amd64-linux ~x86-linux"
14 IUSE="doc static-libs"
15
16 RDEPEND=">=dev-libs/glib-2.16:2"
17 DEPEND="${RDEPEND}
18 virtual/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