mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 19:57:14 +08:00
37 lines
893 B
Bash
37 lines
893 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.9
|
|
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' 'libxml2')
|
|
makedepends=('pkg-config')
|
|
options=('!libtool' '!docs')
|
|
source=(http://www.open-mpi.org/software/hwloc/v${pkgver}/downloads/${pkgname}-${pkgver}.tar.bz2)
|
|
sha1sums=('99646446502e0f9952170bf1082be63361d99b6d')
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
./configure --prefix=/usr --disable-cairo
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd ${pkgname}-${pkgver}
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
|
|
}
|
|
|