31 lines
1.1 KiB
Bash
31 lines
1.1 KiB
Bash
# Template file for 'cmake-gui'
|
|
pkgname=cmake-gui
|
|
version=3.6.2
|
|
revision=1
|
|
wrksrc="cmake-${version}"
|
|
build_style=configure
|
|
configure_args="--prefix=/usr --mandir=/share/man --docdir=/share/doc/cmake
|
|
--system-libs --qt-gui ${XBPS_MAKEJOBS:+--parallel=$XBPS_MAKEJOBS}"
|
|
makedepends="expat-devel jsoncpp-devel libarchive-devel libcurl-devel
|
|
ncurses-devel qt5-devel zlib-devel"
|
|
depends="desktop-file-utils shared-mime-info"
|
|
short_desc="Cross-platform, open-source build system - Qt GUI"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="LGPL-2.1, 3-clause-BSD"
|
|
homepage="http://www.cmake.org"
|
|
distfiles="http://www.cmake.org/files/v${version%.*}/cmake-$version.tar.gz"
|
|
checksum=189ae32a6ac398bb2f523ae77f70d463a6549926cde1544cd9cc7c6609f8b346
|
|
|
|
do_install() {
|
|
# We are only interested in cmake-gui.
|
|
make DESTDIR=${wrksrc}/${pkgname} install
|
|
|
|
vbin ${pkgname}/usr/bin/cmake-gui
|
|
|
|
vmkdir usr/share
|
|
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
|
|
}
|