aboutsummaryrefslogtreecommitdiffstats
path: root/main/cmake
diff options
context:
space:
mode:
authorAndré Klitzing <aklitzing@gmail.com>2017-01-15 14:17:18 +0100
committerJakub Jirutka <jakub@jirutka.cz>2017-01-17 01:13:15 +0100
commitcbd82a49dfb98613d73808470026fe4d6ceaae73 (patch)
tree2495311e49d7ee5f4df6f4988cd5c34618356cc4 /main/cmake
parent60e59b866f2e44c2cab9db8c685bcc7310a2c854 (diff)
downloadaports-cbd82a49dfb98613d73808470026fe4d6ceaae73.tar.bz2
aports-cbd82a49dfb98613d73808470026fe4d6ceaae73.tar.xz
main/cmake: upgrade to 3.7.2
Diffstat (limited to 'main/cmake')
-rw-r--r--main/cmake/APKBUILD25
1 files changed, 7 insertions, 18 deletions
diff --git a/main/cmake/APKBUILD b/main/cmake/APKBUILD
index 6e29ca19d2..af50cf41b2 100644
--- a/main/cmake/APKBUILD
+++ b/main/cmake/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cmake
-pkgver=3.7.1
+pkgver=3.7.2
pkgrel=0
pkgdesc="CMake is a cross-platform open-source make system"
url="http://www.cmake.org"
@@ -16,10 +16,8 @@ case $pkgver in
*.*.*) _v=v${pkgver%.*};;
esac
-source="http://www.cmake.org/files/$_v/cmake-${pkgver}.tar.gz
- "
-
-_builddir="$srcdir/$pkgname-$pkgver"
+source="http://www.cmake.org/files/$_v/cmake-${pkgver}.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
parallel_opt() {
local i n
@@ -31,17 +29,8 @@ parallel_opt() {
[ -n "$n" ] && echo "--parallel $n"
}
-prepare() {
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
-
build() {
- cd "$_builddir"
+ cd "$builddir"
# jsoncpp seems to need cmake to build so to avoid recursive build dep
# we use the bundled
./bootstrap --prefix=/usr \
@@ -60,6 +49,6 @@ package() {
make DESTDIR="$pkgdir" install
}
-md5sums="d031d5a06e9f1c5367cdfc56fbd2a1c8 cmake-3.7.1.tar.gz"
-sha256sums="449a5bce64dbd4d5b9517ebd1a1248ed197add6ad27934478976fd5f1f9330e1 cmake-3.7.1.tar.gz"
-sha512sums="0539d70ce3ac77042a45d638443b09fbf368e253622db980bc6fb15988743eacd031ab850a45c821ec3e9f0f5f886b9c9cb0668aeda184cd457b78abbfe7b629 cmake-3.7.1.tar.gz"
+md5sums="79bd7e65cd81ea3aa2619484ad6ff25a cmake-3.7.2.tar.gz"
+sha256sums="dc1246c4e6d168ea4d6e042cfba577c1acd65feea27e56f5ff37df920c30cae0 cmake-3.7.2.tar.gz"
+sha512sums="b2ed0192e12267de19eb178c2dedc69d06fc33dfadd47efbe0ccf6969ad72d290fa4bff02861c379a8752337d67d2485d7e1ba947cb219f2e4041a53a195e88d cmake-3.7.2.tar.gz"