void-packages/templates/cmake/template
Juan RP 84222395b8 Provide some vars for use in template's targets.
These new vars are DESTDIR (by default XBPS_DESTDIR/pkgname-version),
SRCPKGDESTDIR (XBPS_DESTDIR/sourcepkg-version) and FILESDIR
(XBPS_TEMPLATESDIR/pkgname/files).

This simplifies packages that used them.

--HG--
extra : convert_revision : 287ea7128cb5df19870ca7aff0a3b8f99a11d63a
2009-03-11 06:31:56 +01:00

27 lines
994 B
Text

# Template file for 'cmake'
pkgname=cmake
version=2.6.2
distfiles="http://www.cmake.org/files/v2.6/$pkgname-$version.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 <xtraeme@gmail.com>"
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."
Add_dependency full glibc
Add_dependency full openssl
post_install()
{
mv -v ${DESTDIR}/usr/doc ${DESTDIR}/usr/share/doc
mv -v ${DESTDIR}/usr/man ${DESTDIR}/usr/share/man
}