diff --git a/srcpkgs/cmake/template b/srcpkgs/cmake/template index 286dd79dbf..8855ed6ffc 100644 --- a/srcpkgs/cmake/template +++ b/srcpkgs/cmake/template @@ -1,18 +1,15 @@ # Template file for 'cmake' pkgname=cmake -version=2.8.12.2 +version=3.0.0 revision=1 build_style=configure configure_script=./bootstrap configure_args="--prefix=/usr --mandir=/share/man - --docdir=/share/doc/cmake --system-libs" -if [ "$XBPS_MAKEJOBS" ]; then - configure_args+=" --parallel=$XBPS_MAKEJOBS" -fi + --docdir=/share/doc/cmake --system-libs ${XBPS_MAKEJOBS:+--parallel=$XBPS_MAKEJOBS}" makedepends="zlib-devel expat-devel libcurl-devel ncurses-devel libarchive-devel>=3.1.2" short_desc="Cross-platform, open-source build system" maintainer="Juan RP " license="BSD" homepage="http://www.cmake.org" -distfiles="http://www.cmake.org/files/v2.8/$pkgname-$version.tar.gz" -checksum=8c6574e9afabcb9fc66f463bb1f2f051958d86c85c37fccf067eb1a44a120e5e +distfiles="http://www.cmake.org/files/v${version%.*}/$pkgname-$version.tar.gz" +checksum=99a34b7f74000404feffd82fba9d9e0cd623428c74b6a4851a0dee1c272606c0