mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 02:54:40 +08:00
33 lines
894 B
Bash
33 lines
894 B
Bash
|
#
|
||
|
# Core Packages for Chakra, part of chakra-project.org
|
||
|
#
|
||
|
# maintainer (x86_64): Drake Justice <djustice[at]chakra-project[dot]org>
|
||
|
|
||
|
pkgname=hwloc
|
||
|
pkgver=1.3.1
|
||
|
pkgrel=1
|
||
|
pkgdesc="Portable Hardware Locality is a portable abstraction of hierarchical architectures"
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://www.open-mpi.org/projects/hwloc/"
|
||
|
license=('BSD')
|
||
|
depends=('sh' 'pciutils')
|
||
|
makedepends=('pkg-config')
|
||
|
optdepends=('cairo: Graphical output' 'libxml2: XML export')
|
||
|
options=('!libtool' '!docs')
|
||
|
source=(http://www.open-mpi.org/software/hwloc/v1.3/downloads/${pkgname}-${pkgver}.tar.bz2)
|
||
|
sha1sums=('1051c937c3d2a4c98922903f313a1fa021bb35ba')
|
||
|
|
||
|
build() {
|
||
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||
|
./configure --prefix=/usr
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||
|
make DESTDIR="${pkgdir}" install
|
||
|
|
||
|
install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
|
||
|
}
|
||
|
|