summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2012-01-26 17:33:31 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2012-01-26 17:33:31 +0000
commit1c8a0a5da7f39a2b046528a513f5c25c411c4e20 (patch)
tree8bf1a7fd8c8287ab01b95e79fffe3ee9e9a05abc /sys-apps/hwloc
parentVersion bump. Adds USE=system-lib to use system rather than bundled libs, see... (diff)
downloadgentoo-2-1c8a0a5da7f39a2b046528a513f5c25c411c4e20.tar.gz
gentoo-2-1c8a0a5da7f39a2b046528a513f5c25c411c4e20.tar.bz2
gentoo-2-1c8a0a5da7f39a2b046528a513f5c25c411c4e20.zip
Version bump
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/hwloc')
-rw-r--r--sys-apps/hwloc/ChangeLog7
-rw-r--r--sys-apps/hwloc/hwloc-1.4.ebuild46
2 files changed, 52 insertions, 1 deletions
diff --git a/sys-apps/hwloc/ChangeLog b/sys-apps/hwloc/ChangeLog
index b4848e7d6f88..7f0afb2b4d86 100644
--- a/sys-apps/hwloc/ChangeLog
+++ b/sys-apps/hwloc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/hwloc
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwloc/ChangeLog,v 1.19 2012/01/13 17:18:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwloc/ChangeLog,v 1.20 2012/01/26 17:33:31 xarthisius Exp $
+
+*hwloc-1.4 (26 Jan 2012)
+
+ 26 Jan 2012; Kacper Kowalik <xarthisius@gentoo.org> +hwloc-1.4.ebuild:
+ Version bump
13 Jan 2012; Mike Frysinger <vapier@gentoo.org> hwloc-1.3.1.ebuild:
Use common tc-getPKG_CONFIG helper.
diff --git a/sys-apps/hwloc/hwloc-1.4.ebuild b/sys-apps/hwloc/hwloc-1.4.ebuild
new file mode 100644
index 000000000000..5cff878c809f
--- /dev/null
+++ b/sys-apps/hwloc/hwloc-1.4.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwloc/hwloc-1.4.ebuild,v 1.1 2012/01/26 17:33:31 xarthisius Exp $
+
+EAPI=4
+
+inherit multilib versionator
+
+MY_PV=v$(get_version_component_range 1-2)
+
+DESCRIPTION="displays the hardware topology in convenient formats"
+HOMEPAGE="http://www.open-mpi.org/projects/hwloc/"
+SRC_URI="http://www.open-mpi.org/software/${PN}/${MY_PV}/downloads/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux"
+IUSE="cairo debug +numa +pci svg static-libs xml X"
+
+RDEPEND="sys-libs/ncurses
+ cairo? ( x11-libs/cairo[X?,svg?] )
+ pci? ( sys-apps/pciutils )
+ xml? ( dev-libs/libxml2 )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ numa? ( sys-process/numactl )"
+
+DOCS=( AUTHORS NEWS README VERSION )
+
+src_configure() {
+ export HWLOC_PKG_CONFIG=$(tc-getPKG_CONFIG) #393467
+ econf \
+ --docdir="${EPREFIX}"/usr/share/doc/${PF} \
+ $(use_enable cairo) \
+ $(use_enable debug) \
+ $(use_enable pci) \
+ $(use_enable static-libs static) \
+ $(use_enable xml libxml2) \
+ $(use_with X x) \
+ --disable-silent-rules
+}
+
+src_install() {
+ default
+ use static-libs || rm "${D}"/usr/$(get_libdir)/lib${PN}.la
+}