/[gentoo-x86]/media-libs/libmetalink/libmetalink-0.0.3.ebuild
Gentoo

Contents of /media-libs/libmetalink/libmetalink-0.0.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Sun Jul 29 13:20:07 2012 UTC (2 years, 9 months ago) by blueness
Branch: MAIN
Changes since 1.2: +2 -2 lines
Keyword ~arm

(Portage version: 2.1.10.65/cvs/Linux x86_64)

1 blueness 1.2 # Copyright 1999-2012 Gentoo Foundation
2 hwoarang 1.1 # Distributed under the terms of the GNU General Public License v2
3 blueness 1.3 # $Header: /var/cvsroot/gentoo-x86/media-libs/libmetalink/libmetalink-0.0.3.ebuild,v 1.2 2012/07/29 12:56:15 blueness Exp $
4 hwoarang 1.1
5     EAPI="2"
6    
7     inherit base
8    
9     DESCRIPTION="Library for handling Metalink files"
10     HOMEPAGE="http://launchpad.net/libmetalink"
11     SRC_URI="http://code.launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.bz2"
12    
13     LICENSE="MIT"
14     SLOT="0"
15 blueness 1.3 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
16 hwoarang 1.1 IUSE="expat test"
17    
18     RDEPEND="expat? ( dev-libs/expat )
19     !expat? ( >=dev-libs/libxml2-2.6.24 )"
20     DEPEND="${RDEPEND}
21     test? ( dev-util/cunit )"
22    
23     src_configure() {
24     local xml_args
25     use expat \
26     && xml_args=--with-libexpat \
27     || xml_args=--with-libxml2
28    
29     econf ${xml_args} --docdir=/usr/share/doc/${PF}
30     }

  ViewVC Help
Powered by ViewVC 1.1.20