aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-03-13 11:31:26 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2017-03-13 11:32:18 +0100
commitbd86165d1a5e2da18463ef50479741c1464241c7 (patch)
tree81518609ff66b74dd16cc57a2dd396a263adc612
parent84df29bd23e0d41520f1b821d70afe11f5b1ab1b (diff)
downloadaports-bd86165d1a5e2da18463ef50479741c1464241c7.tar.bz2
aports-bd86165d1a5e2da18463ef50479741c1464241c7.tar.xz
main/cmake: use system liblzma
explicitly set system libs for all dependencies execpt jsoncpp.
-rw-r--r--main/cmake/APKBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/main/cmake/APKBUILD b/main/cmake/APKBUILD
index af50cf41b2..54fc53e5a6 100644
--- a/main/cmake/APKBUILD
+++ b/main/cmake/APKBUILD
@@ -2,13 +2,13 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cmake
pkgver=3.7.2
-pkgrel=0
+pkgrel=1
pkgdesc="CMake is a cross-platform open-source make system"
url="http://www.cmake.org"
arch="all"
license="CMake"
depends=
-makedepends="ncurses-dev curl-dev expat-dev zlib-dev bzip2-dev libarchive-dev libuv-dev"
+makedepends="ncurses-dev curl-dev expat-dev zlib-dev bzip2-dev libarchive-dev libuv-dev xz-dev"
subpackages="$pkgname-doc"
case $pkgver in
@@ -38,7 +38,13 @@ build() {
--datadir=/share/$pkgname \
--docdir=/share/doc/$pkgname \
--system-libs \
+ --system-curl \
+ --system-expat \
--no-system-jsoncpp \
+ --system-zlib \
+ --system-bzip2 \
+ --system-liblzma \
+ --system-libarchive \
$(parallel_opt)
make || return 1