[arch-commits] Commit in hwloc/trunk (PKGBUILD)

Anatol Pomozov anatolik at archlinux.org
Sun May 8 16:40:58 UTC 2016


    Date: Sunday, May 8, 2016 @ 18:40:58
  Author: anatolik
Revision: 267212

Reorganize the package dependencies

enable plugins support
move pci and xml dependencies to plugins
move cairo dependencies to options (only lstopo depends on it)

Modified:
  hwloc/trunk/PKGBUILD

----------+
 PKGBUILD |   26 ++++++++++++++------------
 1 file changed, 14 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-05-08 12:35:51 UTC (rev 267211)
+++ PKGBUILD	2016-05-08 16:40:58 UTC (rev 267212)
@@ -5,30 +5,32 @@
 
 pkgname=hwloc
 pkgver=1.11.3
-pkgrel=1
-pkgdesc="Portable Hardware Locality is a portable abstraction of hierarchical architectures"
+pkgrel=2
+pkgdesc='Portable Hardware Locality is a portable abstraction of hierarchical architectures'
 arch=('i686' 'x86_64')
-url="http://www.open-mpi.org/projects/hwloc/"
+url='http://www.open-mpi.org/projects/hwloc/'
 license=('BSD')
-depends=('sh' 'pciutils' 'cairo' 'libxml2')
+depends=('numactl' 'libtool')
+optdepends=('cairo' 'libxml2' 'pciutils')
+makedepends=('cairo' 'libxml2' 'pciutils')
 options=('!docs')
 source=(http://www.open-mpi.org/software/hwloc/v1.11/downloads/${pkgname}-${pkgver}.tar.bz2)
 sha1sums=('66e71c50dbbd483c0c1cdac4dbced6ce19fcbcb3')
 
 build() {
-   cd ${pkgname}-${pkgver}
-   ./configure --prefix=/usr --sbindir=/usr/bin
-   make
+  cd hwloc-$pkgver
+  ./configure --prefix=/usr --sbindir=/usr/bin --enable-plugins
+  make
 }
 
 check() {
-   cd ${pkgname}-${pkgver}
-   make check
+  cd hwloc-$pkgver
+  make check
 }
 
 package() {
-   cd ${pkgname}-${pkgver}
-   make DESTDIR="${pkgdir}" install
+  cd hwloc-$pkgver
+  make DESTDIR="$pkgdir" install
 
-   install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+  install -Dm644 COPYING "$pkgdir"/usr/share/licenses/hwloc/LICENSE
 }



More information about the arch-commits mailing list