* add nanomsg
This commit is contained in:
parent
43196a6be9
commit
ae4e95d469
13
nanomsg/.SRCINFO
Normal file
13
nanomsg/.SRCINFO
Normal file
@ -0,0 +1,13 @@
|
||||
pkgbase = nanomsg
|
||||
pkgdesc = Simple high-performance implementation of several "scalability protocols"
|
||||
pkgver = 1.2
|
||||
pkgrel = 2
|
||||
url = https://nanomsg.org/
|
||||
arch = x86_64
|
||||
license = MIT
|
||||
makedepends = cmake
|
||||
depends = glibc
|
||||
source = nanomsg-1.2.tar.gz::https://github.com/nanomsg/nanomsg/archive/1.2.tar.gz
|
||||
sha256sums = 6ef7282e833df6a364f3617692ef21e59d5c4878acea4f2d7d36e21c8858de67
|
||||
|
||||
pkgname = nanomsg
|
3
nanomsg/.nvchecker.toml
Normal file
3
nanomsg/.nvchecker.toml
Normal file
@ -0,0 +1,3 @@
|
||||
[nanomsg]
|
||||
source = "git"
|
||||
git = "https://github.com/nanomsg/nanomsg.git"
|
34
nanomsg/PKGBUILD
Normal file
34
nanomsg/PKGBUILD
Normal file
@ -0,0 +1,34 @@
|
||||
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
||||
# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com>
|
||||
# Contributor: KokaKiwi <admin@kokaelkiwi.eu>
|
||||
# Contributor: James Bulmer <nekinie@gmail.com>
|
||||
|
||||
pkgname=nanomsg
|
||||
pkgver=1.2
|
||||
pkgrel=2
|
||||
pkgdesc='Simple high-performance implementation of several "scalability protocols"'
|
||||
url='https://nanomsg.org/'
|
||||
license=(MIT)
|
||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||
depends=(glibc)
|
||||
makedepends=(cmake)
|
||||
source=(nanomsg-$pkgver.tar.gz::https://github.com/nanomsg/nanomsg/archive/$pkgver.tar.gz)
|
||||
sha256sums=('6ef7282e833df6a364f3617692ef21e59d5c4878acea4f2d7d36e21c8858de67')
|
||||
|
||||
|
||||
build() {
|
||||
cd nanomsg-$pkgver
|
||||
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib .
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd nanomsg-$pkgver
|
||||
ctest
|
||||
}
|
||||
|
||||
package() {
|
||||
cd nanomsg-$pkgver
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user