aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2019-05-01 09:31:06 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2019-05-01 13:59:57 +0000
commit4dee62745e4b3967a246532cdb65ccf446e78566 (patch)
treec7160e25415aeebe3a33c95da9de0f01ca127bf5
parent8cb89d090383465951e0de2784328902463de063 (diff)
downloadaports-4dee62745e4b3967a246532cdb65ccf446e78566.tar.bz2
aports-4dee62745e4b3967a246532cdb65ccf446e78566.tar.xz
main/bctoolbox: moved from testing, added check()
needed by ortp which is needed by sngtc_client which is needed by Freeswitch
-rw-r--r--main/bctoolbox/APKBUILD (renamed from testing/bctoolbox/APKBUILD)7
-rw-r--r--main/bctoolbox/cmake-bcunit-fix.patch (renamed from testing/bctoolbox/cmake-bcunit-fix.patch)0
2 files changed, 6 insertions, 1 deletions
diff --git a/testing/bctoolbox/APKBUILD b/main/bctoolbox/APKBUILD
index 498d31d32e..36dfce4302 100644
--- a/testing/bctoolbox/APKBUILD
+++ b/main/bctoolbox/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=bctoolbox
pkgver=0.6.0
-pkgrel=0
+pkgrel=1
pkgdesc="Utilities library used by Belledonne Communications softwares like belle-sip, mediastreamer2 and linphone"
url="https://github.com/BelledonneCommunications/bctoolbox"
arch="all"
@@ -34,6 +34,11 @@ build() {
make
}
+check() {
+ cd "$builddir"/build
+ make check
+}
+
package() {
cd "$builddir"/build
make DESTDIR="$pkgdir" install
diff --git a/testing/bctoolbox/cmake-bcunit-fix.patch b/main/bctoolbox/cmake-bcunit-fix.patch
index fd3a747640..fd3a747640 100644
--- a/testing/bctoolbox/cmake-bcunit-fix.patch
+++ b/main/bctoolbox/cmake-bcunit-fix.patch