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

# source: post BLFS 7.8 2016-01-23
TARBALL=cmake-$PKGVER.tar.gz
MD5SUM=04545d3cc3801fe84223b864c4f7a53c
SRC_URL=http://www.cmake.org/files/v3.4/$TARBALL
BUNDLE=

SLACKREQ='expat libarchive curl'
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
### defualt pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/cmake*
	./bootstrap --prefix=/usr       \
				--system-libs       \
				--mandir=/share/man \
				--no-system-jsoncpp \
				--docdir=/share/doc/cmake-$PKGVER &&
	make $MAKEFLAGS &&
	make $MAKEINSTALLFLAGS install &&
	pkg_build_slackdesc
}


