aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libsigsegv/APKBUILD
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-12-28 19:49:17 +0000
committerRoberto Oliveira <robertoguimaraes8@gmail.com>2017-12-28 19:49:17 +0000
commit673e00d3c17316c5fa7ab58fb75578a0f9a0dff3 (patch)
tree84c5e783896f18860091bc7ef1188b2bcbfb803a /testing/libsigsegv/APKBUILD
parent4d7e3cf3beb541dec1f44751e698c72a3f47bb5e (diff)
downloadaports-673e00d3c17316c5fa7ab58fb75578a0f9a0dff3.tar.gz
aports-673e00d3c17316c5fa7ab58fb75578a0f9a0dff3.tar.bz2
aports-673e00d3c17316c5fa7ab58fb75578a0f9a0dff3.tar.xz
testing/libsigsegv: add check
Diffstat (limited to 'testing/libsigsegv/APKBUILD')
-rw-r--r--testing/libsigsegv/APKBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/testing/libsigsegv/APKBUILD b/testing/libsigsegv/APKBUILD
index 2bb2820406..e3a2a88e2d 100644
--- a/testing/libsigsegv/APKBUILD
+++ b/testing/libsigsegv/APKBUILD
@@ -2,15 +2,11 @@
# Maintainer:
pkgname=libsigsegv
pkgver=2.11
-pkgrel=0
+pkgrel=1
pkgdesc="Page fault detection library"
url="http://www.gnu.org/software/libsigsegv/"
arch="all"
license="GPL2"
-depends=""
-depends_dev=""
-makedepends=""
-install=""
subpackages="$pkgname-dev"
source="http://ftp.gnu.org/gnu/libsigsegv/libsigsegv-$pkgver.tar.gz
0001-Avoid-use-of-glibc-internal-macros.patch
@@ -31,6 +27,11 @@ build() {
make
}
+check() {
+ cd "$builddir"
+ make check
+}
+
package() {
make DESTDIR="$pkgdir" \
-C "$builddir" install