From 1fcba47262f41d5ec74b9fede455cab8440d2b9c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 22 Nov 2008 13:08:31 +0100 Subject: [PATCH] Added cmake-2.6.2 template, required by initng. --HG-- extra : convert_revision : f384fac782c6859d5bde9d0e6a90db611756e468 --- templates/cmake.tmpl | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 templates/cmake.tmpl diff --git a/templates/cmake.tmpl b/templates/cmake.tmpl new file mode 100644 index 00000000000..61b3ecfa9ea --- /dev/null +++ b/templates/cmake.tmpl @@ -0,0 +1,28 @@ +# Template file for 'cmake' +pkgname=cmake +version=2.6.2 +distfiles="http://www.cmake.org/files/v2.6/cmake-2.6.2.tar.gz" +build_style=configure +configure_script=./bootstrap +configure_args="--prefix=$XBPS_DESTDIR/$pkgname-$version/usr" +make_install_target="install" +short_desc="Cross-platform, open-source build system" +maintainer="Juan RP " +checksum=b3f5a9dfa97fb82cb1b7d78a62d949f93c8d4317af36674f337d27066fa6b7e9 +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." + +run_depends="glibc-2.8" + +post_install() +{ + local destdir=$XBPS_DESTDIR/$pkgname-$version + + mv -v $destdir/usr/doc $destdir/usr/share/doc + mv -v $destdir/usr/man $destdir/usr/share/man +}