void-packages/srcpkgs/cmake-gui/template

27 lines
1,010 B
Text
Raw Normal View History

# Template file for 'cmake-gui'
pkgname=cmake-gui
2014-11-06 12:06:48 +00:00
version=3.0.2
2013-10-14 09:42:22 +00:00
revision=1
wrksrc="cmake-${version}"
build_style=configure
configure_script="./bootstrap"
2014-06-11 07:23:13 +00:00
configure_args="--prefix=/usr --mandir=/share/man --docdir=/share/doc/cmake
--system-libs --qt-gui ${XBPS_MAKEJOBS:+--parallel=$XBPS_MAKEJOBS}"
2014-08-06 15:51:00 +00:00
makedepends="zlib-devel expat-devel libcurl-devel ncurses-devel libarchive-devel>=3.1.2 qt-devel"
depends="desktop-file-utils shared-mime-info"
short_desc="Cross-platform, open-source build system - QT GUI"
maintainer="Juan RP <xtraeme@gmail.com>"
2014-08-06 15:51:00 +00:00
license="LGPL-2.1, 3-clause-BSD"
homepage="http://www.cmake.org"
2014-06-11 07:23:13 +00:00
distfiles="http://www.cmake.org/files/v${version%.*}/cmake-$version.tar.gz"
2014-11-06 12:06:48 +00:00
checksum=6b4ea61eadbbd9bec0ccb383c29d1f4496eacc121ef7acf37c7a24777805693e
do_install() {
# We are only interested in cmake-gui.
make DESTDIR=${wrksrc}/${pkgname} install
2014-06-11 07:36:37 +00:00
vmkdir usr/share
vinstall ${pkgname}/usr/bin/cmake-gui 755 usr/bin
cp -a ${pkgname}/usr/share/{applications,mime,pixmaps} ${DESTDIR}/usr/share
}