aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/nanomsg/APKBUILD7
1 files changed, 1 insertions, 6 deletions
diff --git a/testing/nanomsg/APKBUILD b/testing/nanomsg/APKBUILD
index 03067cb54e..0da06096e6 100644
--- a/testing/nanomsg/APKBUILD
+++ b/testing/nanomsg/APKBUILD
@@ -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
}