void-packages/srcpkgs/cmake-gui/template

32 lines
1.1 KiB
Text
Raw Normal View History

# Template file for 'cmake-gui'
pkgname=cmake-gui
2013-10-14 09:42:22 +00:00
version=2.8.12
revision=1
wrksrc="cmake-${version}"
build_style=configure
configure_script="./bootstrap"
configure_args="--prefix=/usr --mandir=/share/man --docdir=/share/doc/cmake --system-libs --qt-gui"
if [ -n "$XBPS_MAKEJOBS" ]; then
2013-10-14 09:42:22 +00:00
configure_args+=" --parallel=$XBPS_MAKEJOBS"
fi
makedepends="zlib-devel expat-devel libcurl-devel
2013-10-14 09:42:22 +00:00
ncurses-devel libarchive-devel>=3.1.2 qt-devel desktop-file-utils shared-mime-info"
depends="desktop-file-utils shared-mime-info"
short_desc="Cross-platform, open-source build system - QT GUI"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
homepage="http://www.cmake.org"
distfiles="http://www.cmake.org/files/v2.8/cmake-$version.tar.gz"
2013-10-14 09:42:22 +00:00
checksum=d885ba10b2406ede59aa31a928df33c9d67fc01433202f7dd586999cfd0e0287
do_install() {
# We are only interested in cmake-gui.
make DESTDIR=${wrksrc}/${pkgname} install
vmove ${pkgname}/usr/bin/cmake-gui
vmove ${pkgname}/usr/share/man/man1/cmake-gui.1
vmove ${pkgname}/usr/share/applications
vmove ${pkgname}/usr/share/mime/packages
vmove ${pkgname}/usr/share/pixmaps
}