# Template file for 'cmake'
pkgname=cmake
version=2.8.1
distfiles="http://www.cmake.org/files/v2.8/$pkgname-$version.tar.gz"
build_style=configure
configure_script=./bootstrap
configure_args="--prefix=/usr --mandir=/share/man
 --docdir=/share/doc/cmake --system-libs"
if [ -n "$XBPS_MAKEJOBS" ]; then
	configure_args="$configure_args --parallel=$XBPS_MAKEJOBS"
fi
short_desc="Cross-platform, open-source build system"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=7eae74ab7673974a68e395c211854d318f0af2d320590a670339ee8ee9422242
long_desc="
 CMake is a cross-platform, open-source build system. CMake is a family
 of tools designed to build, test and package software. CMake is used
 to control the software compilation process using simple platform and
 compiler independent configuration files. CMake generates native
 makefiles and workspaces that can be used in the compiler environment
 of your choice."

Add_dependency run libgcc
Add_dependency run glibc
Add_dependency run zlib
Add_dependency run expat
Add_dependency run libcurl
Add_dependency run ncurses-libs
Add_dependency run libstdc++
Add_dependency build zlib-devel
Add_dependency build expat-devel
Add_dependency build libcurl-devel
Add_dependency build ncurses-devel
