void-packages/srcpkgs/cmake-gui/template

33 lines
1.1 KiB
Bash
Raw Normal View History

# Template file for 'cmake-gui'
pkgname=cmake-gui
2016-12-01 18:28:06 +01:00
version=3.7.1
2016-11-04 18:02:35 +01:00
revision=1
wrksrc="cmake-${version}"
build_style=configure
2014-06-11 09:23:13 +02:00
configure_args="--prefix=/usr --mandir=/share/man --docdir=/share/doc/cmake
--system-libs --qt-gui ${XBPS_MAKEJOBS:+--parallel=$XBPS_MAKEJOBS}"
2016-10-03 16:19:31 +02:00
hostmakedepends="qt5-devel"
2016-04-10 16:24:36 +02:00
makedepends="expat-devel jsoncpp-devel libarchive-devel libcurl-devel
ncurses-devel qt5-devel zlib-devel libuv-devel"
depends="desktop-file-utils shared-mime-info"
2016-07-10 02:04:55 +02:00
short_desc="Cross-platform, open-source build system - Qt GUI"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2014-08-06 17:51:00 +02:00
license="LGPL-2.1, 3-clause-BSD"
homepage="http://www.cmake.org"
2014-06-11 09:23:13 +02:00
distfiles="http://www.cmake.org/files/v${version%.*}/cmake-$version.tar.gz"
2016-12-01 18:28:06 +01:00
checksum=449a5bce64dbd4d5b9517ebd1a1248ed197add6ad27934478976fd5f1f9330e1
2016-10-03 16:19:31 +02:00
nocross=yes
do_install() {
# We are only interested in cmake-gui.
make DESTDIR=${wrksrc}/${pkgname} install
2016-03-18 16:01:30 +01:00
vbin ${pkgname}/usr/bin/cmake-gui
2014-06-11 09:36:37 +02:00
vmkdir usr/share
2016-03-18 16:01:30 +01:00
cp -a ${pkgname}/usr/share/{applications,mime,icons} ${DESTDIR}/usr/share
vmkdir usr/share/licenses # no vlicense
mv ${pkgname}/usr/share/doc/cmake ${DESTDIR}/usr/share/licenses/cmake-gui
}