diff options
-rw-r--r-- | main/cmake/APKBUILD | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/main/cmake/APKBUILD b/main/cmake/APKBUILD index 4116e87804..ce81d55e53 100644 --- a/main/cmake/APKBUILD +++ b/main/cmake/APKBUILD @@ -2,13 +2,15 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=cmake pkgver=3.9.1 -pkgrel=1 +pkgrel=2 pkgdesc="CMake is a cross-platform open-source make system" url="http://www.cmake.org" arch="all" license="CMake" makedepends="ncurses-dev curl-dev expat-dev zlib-dev bzip2-dev libarchive-dev libuv-dev xz-dev rhash-dev" +options="!checkroot" +checkdepends="musl-utils file" subpackages="$pkgname-doc" case $pkgver in @@ -44,6 +46,11 @@ build() { make } +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE bin/ctest +} + package() { cd $startdir/src/$pkgname-$pkgver make DESTDIR="$pkgdir" install |