/[gentoo-x86]/sys-apps/hwloc/hwloc-1.5.ebuild
Gentoo

Contents of /sys-apps/hwloc/hwloc-1.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Oct 7 17:25:17 2012 UTC (23 months, 2 weeks ago) by alexxy
Branch: MAIN
[sys-apps/hwloc] Version bump

(Portage version: 2.2.0_alpha135/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-apps/hwloc/hwloc-1.4.2.ebuild,v 1.2 2012/05/30 12:33:17 aballier Exp $
4
5 EAPI=4
6
7 inherit multilib versionator
8
9 MY_PV=v$(get_version_component_range 1-2)
10
11 DESCRIPTION="displays the hardware topology in convenient formats"
12 HOMEPAGE="http://www.open-mpi.org/projects/hwloc/"
13 SRC_URI="http://www.open-mpi.org/software/${PN}/${MY_PV}/downloads/${P}.tar.bz2"
14
15 LICENSE="BSD"
16 SLOT="0"
17 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux"
18 IUSE="cairo debug +numa +pci svg static-libs xml X"
19
20 RDEPEND="sys-libs/ncurses
21 cairo? ( x11-libs/cairo[X?,svg?] )
22 pci? ( sys-apps/pciutils )
23 xml? ( dev-libs/libxml2 )"
24 DEPEND="${RDEPEND}
25 virtual/pkgconfig
26 numa? ( sys-process/numactl )"
27
28 DOCS=( AUTHORS NEWS README VERSION )
29
30 src_configure() {
31 export HWLOC_PKG_CONFIG=$(tc-getPKG_CONFIG) #393467
32 econf \
33 --docdir="${EPREFIX}"/usr/share/doc/${PF} \
34 $(use_enable cairo) \
35 $(use_enable debug) \
36 $(use_enable pci) \
37 $(use_enable numa libnuma) \
38 $(use_enable static-libs static) \
39 $(use_enable xml libxml2) \
40 $(use_with X x) \
41 --disable-silent-rules
42 }
43
44 src_install() {
45 default
46 use static-libs || rm "${D}"/usr/$(get_libdir)/lib${PN}.la
47 }

  ViewVC Help
Powered by ViewVC 1.1.20