2013-04-06 17:27:28 +02:00
|
|
|
# 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
|
2013-04-06 17:27:28 +02:00
|
|
|
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
|
2016-11-13 06:09:13 +01:00
|
|
|
ncurses-devel qt5-devel zlib-devel libuv-devel"
|
2014-01-01 16:10:11 +01:00
|
|
|
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"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2014-08-06 17:51:00 +02:00
|
|
|
license="LGPL-2.1, 3-clause-BSD"
|
2013-04-06 17:27:28 +02:00
|
|
|
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
|
2013-04-12 08:55:23 +02:00
|
|
|
|
2014-01-01 16:10:11 +01:00
|
|
|
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
|
2013-04-12 08:55:23 +02:00
|
|
|
}
|