[arch-commits] Commit in libfabric/repos (community-x86_64 community-x86_64/PKGBUILD)
Bruno Pagani
archange at archlinux.org
Wed Oct 14 15:30:12 UTC 2020
Date: Wednesday, October 14, 2020 @ 15:30:11
Author: archange
Revision: 723919
archrelease: copy trunk to community-x86_64
Added:
libfabric/repos/community-x86_64/
libfabric/repos/community-x86_64/PKGBUILD
(from rev 723918, libfabric/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: libfabric/repos/community-x86_64/PKGBUILD (from rev 723918, libfabric/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2020-10-14 15:30:11 UTC (rev 723919)
@@ -0,0 +1,34 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=libfabric
+pkgver=1.11.1
+pkgrel=1
+pkgdesc="User-space API for OpenFabrics Interfaces (OFI)"
+arch=(x86_64)
+url="https://ofiwg.github.io/libfabric/"
+license=(GPL2)
+depends=(glibc)
+source=(https://github.com/ofiwg/libfabric/releases/download/v${pkgver}/libfabric-${pkgver}.tar.bz2)
+sha512sums=(790c9346dc5cae4100bfaf760a2fc1aeed34f8d92d1a05beaa13d004cb59cf0f66aca128e737a745dfc08b8aad4a25a6f85bc21ee8d0c1612727f0b22e1c966e)
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ autoreconf -fvi
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+ make test
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list