mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-06 04:46:42 +02:00
testing/nanomsg: modernize
This commit is contained in:
parent
b9a810e6ff
commit
ec974c91c0
@ -7,16 +7,13 @@ pkgdesc="Socket library that provides several common communication patterns"
|
||||
url="http://nanomsg.org"
|
||||
arch="all !armhf !armv7" # armhf: segfaults in 2 tests
|
||||
license="MIT"
|
||||
depends_dev="asciidoctor xmlto"
|
||||
makedepends="$depends_dev cmake"
|
||||
makedepends="asciidoctor xmlto cmake"
|
||||
options="libtool"
|
||||
subpackages="$pkgname-dev $pkgname-doc"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/nanomsg/nanomsg/archive/$pkgver.tar.gz"
|
||||
|
||||
builddir="$srcdir/$pkgname-$pkgver"
|
||||
|
||||
build() {
|
||||
cd "$builddir"
|
||||
cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib .
|
||||
@ -24,12 +21,10 @@ build() {
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$builddir"
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user