### this file is sourced not run
PKGVER=3.10.2
PKGBUILD=1
PKGARCH=x86_64

# source: BLFS 8.2
TARBALL=cmake-$PKGVER.tar.gz
MD5SUM=732808e17fc14dc8cee50d51518c34eb
SRC_URL=http://www.cmake.org/files/v3.10/$TARBALL
BUNDLE=

SLACKREQ='expat libarchive curl libuv'
SLACKDESC="cmake: cmake $PKGVER (Makefile generator)  
cmake:  
cmake: The CMake package contains a modern toolset used for generating 
cmake: Makefiles. It is a successor of the auto-generated configure script and 
cmake: aims to be platform- and compiler-independent. A significant user of 
cmake: CMake is KDE since version 4. This package contains only the command 
cmake: line tools, GUI-based components are not included here.  
cmake: 
cmake: 
cmake: 
cmake: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/cmake*
	./bootstrap --prefix=/usr        \
				--system-libs        \
				--mandir=/share/man  \
				--no-system-jsoncpp  \
				--no-system-librhash \
				--docdir=/share/doc/cmake-$PKGVER &&
	make $MAKEFLAGS &&
	make $MAKEINSTALLFLAGS install &&
	pkg_build_slackdesc
}


