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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Jan 18 06:52:18 2013 UTC (21 months ago) by xarthisius
Branch: MAIN
Version bump, drop old

(Portage version: 2.2.0_alpha150/cvs/Linux x86_64, signed Manifest commit with key 0x5D21B852895192F9)

1 # Copyright 1999-2013 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.6.ebuild,v 1.1 2012/12/06 19:52:10 xarthisius 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 plugins svg static-libs xml X"
19
20 RDEPEND="sys-libs/ncurses
21 cairo? ( x11-libs/cairo[X?,svg?] )
22 pci? ( sys-apps/pciutils )
23 plugins? ( sys-devel/libtool )
24 numa? ( sys-process/numactl )
25 xml? ( dev-libs/libxml2 )"
26 DEPEND="${RDEPEND}
27 virtual/pkgconfig"
28
29 DOCS=( AUTHORS NEWS README VERSION )
30
31 src_configure() {
32 export HWLOC_PKG_CONFIG=$(tc-getPKG_CONFIG) #393467
33 econf \
34 --docdir="${EPREFIX}"/usr/share/doc/${PF} \
35 $(use_enable cairo) \
36 $(use_enable debug) \
37 $(use_enable pci) \
38 $(use_enable plugins) \
39 $(use_enable numa libnuma) \
40 $(use_enable static-libs static) \
41 $(use_enable xml libxml2) \
42 $(use_with X x) \
43 --disable-silent-rules
44 }
45
46 src_install() {
47 default
48 if ! use static-libs; then
49 rm "${D}"/usr/$(get_libdir)/lib${PN}.la
50 use plugins && rm -f "${D}"/usr/$(get_libdir)/${PN}/*.la
51 fi
52 }

  ViewVC Help
Powered by ViewVC 1.1.20