2016-02-12 12:31:22 +00:00
|
|
|
# Template file for 'hwloc'
|
|
|
|
pkgname=hwloc
|
2016-08-30 10:10:14 +00:00
|
|
|
version=1.11.4
|
|
|
|
revision=1
|
2016-02-12 12:31:22 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
hostmakedepends="pkg-config"
|
2016-03-22 09:39:45 +00:00
|
|
|
makedepends="cairo-devel ncurses-devel libxml2-devel eudev-libudev-devel"
|
2016-04-29 12:29:38 +00:00
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
2016-02-12 12:31:22 +00:00
|
|
|
i686*|x86_64*) makedepends+=" libnuma-devel";;
|
|
|
|
esac
|
|
|
|
short_desc="Portable abstraction of hierarchical hardware architectures"
|
|
|
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
|
|
|
license="BSD"
|
|
|
|
homepage="http://www.open-mpi.org/projects/hwloc/"
|
|
|
|
distfiles="http://www.open-mpi.org/software/hwloc/v${version%.*}/downloads/${pkgname}-${version}.tar.bz2"
|
2016-08-30 10:10:14 +00:00
|
|
|
checksum=fdc59d06c1ddedb0fa41039bb84cb406f0570b6e66223c13a60077831d36e038
|
2016-02-12 12:31:22 +00:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
rm -rf ${DESTDIR}/usr/share/doc
|
|
|
|
}
|
|
|
|
|
|
|
|
libhwloc_package() {
|
|
|
|
short_desc+=" - libraries"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/*.so.*
|
|
|
|
vmove usr/share/hwloc/hwloc.dtd
|
|
|
|
vlicense COPYING
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libhwloc-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="libhwloc>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share/man/man3
|
|
|
|
vmove usr/lib/*.so
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/hwloc/hwloc-valgrind.supp
|
|
|
|
}
|
|
|
|
}
|